[EXT_EP-9217] Using --openmp:device and an improperly-declared target variable causes C6000 compiler to fail with INTERNAL ERROR: acpia6x experienced a segmentation fault Created: 07/Feb/19  Updated: 19/Feb/20  Resolved: 07/Feb/19

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-5903
Forum URL: https://e2e.ti.com/support/tools/ccs/f/81/t/770204
Found In Release: C6000_8.2.0
C6000_8.3.0
Fix In Release: C6000_8.3.5
C6000_8.2.8
Workaround: None. It's still incorrect code, but with a horrendous error indication.
Release Notes: When using --openmp:device, if a target variable is not properly defined between omp "declare target" and "end declare target" pragmas, the compiler will crash. The code is incorrect, and the compiler should warn about it instead.

 Description   

Using --openmp:device and an improperly-declared target variable causes C6000 compiler to fail with INTERNAL ERROR: acpia6x experienced a segmentation fault


Generated at Wed Apr 09 14:49:44 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.