This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320F280049: Defect in the TI C/C++ Parser

Part Number: TMS320F280049

Tool/software: TI C/C++ Compiler

I am getting this error when I call a function via function pointer in .cla file which is defined in a structure. The function pointer has been assigned the address of function in main().

Using sample code from C2000 folder.

Building file: "../cla_ex1_background_task_cla.cla"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="C:/Users/RND17/Desktop/cla_ex1_background_task" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --cla_background_task=on --preproc_with_compile --preproc_dependency="cla_ex1_background_task_cla.d_raw"  "../cla_ex1_background_task_cla.cla"

>> Compilation failure
subdir_rules.mk:16: recipe for target 'cla_ex1_background_task_cla.obj' failed
 
INTERNAL ERROR: C:\ti\ccsv8\tools\compiler\ti-cgt-c2000_18.1.1.LTS\bin\accla.exe experienced a segmentation fault
                  while processing function (unknown or file scope) file (unknown) line 0
 
This is caused by a defect in the TI C/C++ Parser.
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
  • So that I can reproduce the problem, I'd appreciate a test case.  For the source file cla_ex1_background_task_cla.cla, please follow the directions in the article How to Submit a Compiler Test Case.

    At the same time ... You use a compiler that is 2 years old.  A more recent version may have a fix for this problem.  Please update by using the CCS menu selection Help | Check for Updates.

    Thanks and regards,

    -George