Tool/software: TI C/C++ Compiler
This issue Local C++ structure allocated statically depending on initializer list is still pending.
This bug report ClearQuest #SDSCM00050131 is pending too
____________
typedef struct
{
int unused1;
int count;
} TEST_STRUCT;
void TestStructure1(int count)
{
TEST_STRUCT s = {42, count};
}
The compiler generates for "s" a static variable but should be on the stack. As my customer is calling this function two times from different tasks the code doesn't work as expected
Is there any plan to solve this issue?
Regards,
Bernd