Part Number: F29H850TU
I'm running into an issue where ti-cgt-c29_2.1.0.STS is hanging forever. The minimal example file is:
// test.c
void test(int instance) {
*((volatile int *)(0x1000 + (instance * 16))) = 0;
}
compiled with the command
~/ti/ti-cgt-c29_2.1.0.STS/bin/c29clang -g -c -w test.c
This causes the compiler to never return, and to consume an entire CPU core. Interestingly, this seems to be related to the value that instance is multiplied by. This occurs with the value 16, 0x20, 0x40, 0x80, ect. but seemingly nothing in between (although I didn't check every value). Also, anything less than 0x1000 compiles fine, but anything larger causes the issue. It happens with every optimization level as well, no difference between -O0, -O1, -O2, or -O3.
This does not occur with ti-ctg-c29_2.0.0.STS.
OS is Ubuntu 24.04.1.