-
Bug
-
Resolution: Unresolved
-
Medium
-
Code Generation Tools
-
CODEGEN-11940
-
C7000_3.1.0.LTS
-
C7000_5.0.0.STS
-
default
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.