Part Number: TDA4VM
Sometime compiler crash with the following condition.
■Test Code
CompilerCrush.zip
■Procedure for reproducing problems
① Prepare the TDA4VM-EVM.
② Build with CCS10.
③ The following message appears and the build fails illegally.
ccs10_log.txt
**** Clean-only build of configuration Debug for project CompilerCrush **** "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 12 clean -O DEL /F "CompilerCrush.out" DEL /F "main.obj" DEL /F "main.d" C:\Users\p212032\workspace_v10\CompilerCrush\Debug\CompilerCrush.out が見つかりませんでした。 C:\Users\p212032\workspace_v10\CompilerCrush\Debug\main.obj が見つかりませんでした。 Finished clean **** Build Finished **** **** Build of configuration Debug for project CompilerCrush **** "C:\\ti\\ccs1011\\ccs\\utils\\bin\\gmake" -k -j 12 all -O Building file: "../main.cpp" Invoking: C7000 Compiler "C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c7000_1.4.1.LTS/bin/cl7x" -O3 --include_path="C:/Users/p212032/workspace_v10/CompilerCrush" --include_path="C:/ti/ccs1011/ccs/tools/compiler/ti-cgt-c7000_1.4.1.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" "../main.cpp" >> Compilation failure subdir_rules.mk:9: recipe for target 'main.obj' failed >>>> Optimizer terminated abnormally >>>> in function main() >>>> in file "../main.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 gmake: *** [main.obj] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****
■Remarks
const uint64_t nSize = 0x100000000;
Occurs when exceeding the 32bit range
Does not occur when optimization is disabled
■Environments
PSDK:V07.01.00
Thanks and Best regards,
HaTa.