Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9594

Using __builtin_expect gives internal error

    XMLWordPrintable

Details

    • Bug
    • Status: Fixed
    • Low
    • Resolution: Fixed
    • Code Generation Tools
    • CODEGEN-6995
    • Hide
      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
      Show
      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
    • Hide
      C7000_3.1.0.LTS
      C7000_4.0.0.STS*
      Show
      C7000_3.1.0.LTS C7000_4.0.0.STS*
    • 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

      Attachments

        Activity

          People

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: