Using intrinsic __lookup_init causes INTERNAL ERROR on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-11224
    • Hide
      C7000_1.4.0.LTS
      C6000_8.3.0
      C7000_2.1.0.LTS
      C7000_2.0.0.STS
      C7000_3.0.0.STS
      C7000_3.1.0.LTS
      Show
      C7000_1.4.0.LTS C6000_8.3.0 C7000_2.1.0.LTS C7000_2.0.0.STS C7000_3.0.0.STS C7000_3.1.0.LTS
    • Hide
      C7000_2.1.3.LTS*
      C7000_3.1.1.LTS
      C7000_4.0.0.STS
      Show
      C7000_2.1.3.LTS* C7000_3.1.1.LTS C7000_4.0.0.STS
    • default

      The attached test case has these lines ...

          // COMMENT OUT THIS LINE AND IT BUILDS CLEAN
          __lookup_init(__LUT_SET0, __as_uint16(value_to_set), (uint32_t)(i));
      

      Build it ...

      % cl7x -@options.txt example.cpp
      
      INTERNAL ERROR: cg7x experienced a segmentation fault
                        while processing function _Z17init_lut_example1v
      
      This is caused by a defect in the TI G3 C/C++ Codegen.
      TI Customer Support may be able to suggest a workaround to avoid this.
      
      Upgrading to the newest version of the compiler may fix this problem.
      
      Contact TI in the E2E support forums at http://e2e.ti.com under
      "Development Tools", "TI C/C++ Compiler".  See the link titled
      "Submitting an issue".
      
      We need to see this ENTIRE error message and a complete, reproducible
      test case including ALL of the command-line options.
      Include the .pp file created by option --preproc_with_comment
      
      
      >> Compilation failure
      

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-3929 - Using intrinsic __lookup_init cause...
                SYNCHRONIZED
                • Last Sync Date: