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

Using intrinsic __lookup_init causes INTERNAL ERROR on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium

      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
      

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

              Created:
              Updated:
              Resolved: