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

Assertion failed in function with both vector code and struct param

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium

      Use the attached files.

      $ cl7x -@options.txt file.cpp
      
      >>>> Optimizer terminated abnormally
      >>>>    in function _ZN10nCore_Math7hypot3dIiLm16ELm16EEENS_11v_fix_pointIT_XT0_EXT1_EEES3_S3_S3_()
      >>>>    in file "file.cpp"
      This is caused by a defect in the TI C/C++ Optimizer.
      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
      

      The customer states:

      I’ve found out that the internal error disappears if “non-class” template functions are used instead of static methods of template class. Those options can be switched by changing of "#if 0" at line 28 of v_fix_point_hypot.h to "#if 1".

      The file v_fix_point_hypot.h is also attached.

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

              Created:
              Updated: