[EXT_EP-9594] Using __builtin_expect gives internal error Created: 16/Dec/19  Updated: 20/Oct/23  Resolved: 20/Oct/23

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

Type: Bug Priority: Low
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-6995
Forum URL: https://e2e.ti.com/support/tools/ccs/f/81/t/865774
Found In Release: C7000_1.4.0.LTS
C7000_2.1.2.LTS
C7000_2.0.1.STS
C7000_1.3.0.STS
C7000_2.1.0.LTS
C7000_2.0.0.STS
C7000_3.0.0.STS
Fix In Release: C7000_3.1.0.LTS
C7000_4.0.0.STS*
Affected Platform/Device: default

 Description   

The attached file contains these lines ...

int main(int argc, char* argv[]) {
  assert(__builtin_expect(!!argc, 1));

Build it ...

cl7x try1.c
>> try1.c, line 4: INTERNAL ERROR: no match for ICALL


This may be a serious problem.  Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.

Cannot continue compilation - ABORTING!


>> Compilation failure

Once the bug is better characterized, please update the headline


Generated at Sun Apr 13 04:50:52 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.