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
Hi all,
Customer report a CGT issue.
Attached is the project can run on C6657 EVM.
If use -O0 or -O1 the sig_out[255] is 0xBC, it's right.
If use -O2 or -O3, the sig_out[255] is 0xB5. it's wrong.
-O3 picture:
-O0 picture:
And this is the attached project. I have checked, the CGT V7.4.20 and CGT V8.1.0 also have this issue. please help me the debug it, thanks!
BR,
Denny
Denny,
I will try to reproduce this issue and get back to you. In the meantime, could you try out CGT 8.1.4 to see if the results are the same?
You can install C6000 compiler v8.1.4 through CCS by going to menu Help->Check for Updates. After installing it, you can tell CCS to use that version of the compiler for build from within the Project Properties.
AartiG,
Yes, Not only sig_out[255] is different. Customer only use sig_out[255] now, so I make it as example.
It have been verified that -o0/o1 array has correct values.
BR,
Denny
The fix to this issue will be available in v7.4.22, due sometime this month.
C6000 compiler release 7.4.22, which fixes this issue, is now available. Please see this forum post.
Thanks and regards,
-George