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.
Tool/software: TI C/C++ Compiler
hello
I compiled my project with compiler TI v6.4.12 but failed.
The error message:
INTERNAL ERROR: Number of virtual registers beyond limit. Reduce function size.This may be a serious problem. Please contact customer support with adescription of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.
Someone posted the same error before,he solve this problem with version16.9.0, but it cost a lot of time (almost thirty minutes) to compile my project .I also made a lot of matrix calculation in my code and the error may be caused by that ,but I do not know how to solve the problem.
looking for reply.
thanks
Please preprocess the source code that causes this error, and attach that to your next post. Also show all the build options exactly as the compiler sees them.
Thanks and regards,
-George
George
the error caused by the file my_ekf.pp in insert file.
the following is the error reporting:
my_efk.zip
**** Build of configuration Debug for project mbc_bios_2 ****
"E:\\ccs6.0\\ccsv6\\utils\\bin\\gmake" -j4 -k navigation/my_efk.obj
'Building file: ../navigation/my_efk.c'
'Invoking: C2000 Compiler'
"H:/lib_project/ti-cgt-c2000_6.4.12/bin/cl2000" -v28 -ml -mt --float_support=fpu32
--opt_for_speed=5 --include_path="H:/lib_project/ti-cgt-c2000_6.4.12/include"
--include_path="H:/lib_project/mbc_bios_2/navigation"
--include_path="H:/lib_project/mbc_bios_2/DSP2833x_common/include"
--include_path="H:/lib_project/mbc_bios_2/DSP2833x_common/source"
--include_path="H:/lib_project/mbc_bios_2/DSP2833x_headers/include"
--include_path="H:/lib_project/mbc_bios_2/DSP2833x_headers/source"
-g --preproc_only --preproc_with_comment --preproc_with_compile
--diag_wrap=off --diag_warning=225 --diag_warning=255 --display_error_number
--gen_func_subsections=on --obj_directory="navigation"
--cmd_file="./configPkg/compiler.opt" "../navigation/my_efk.c"
>> ../navigation/my_efk.c, line 1732: INTERNAL ERROR: Number of virtual
registers beyond limit. Reduce function
size
This may be a serious problem. Please contact customer support with a
description of this problem and a sample of the source files that caused this
INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
>> Compilation failure
gmake: *** [navigation/my_efk.obj] Error 1
**** Build Finished ****
No. If anything, it will improve efficiency. All other things being equal, the compiler is more likely to generate better code for a smaller function.
Thanks and regards,
-George