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.

Bug in TI MSP430 Optimizing Compiler v15.12.3.LTS

Hi,

I found that the following block of code will cause the compiler to hang indefinitely:

struct foo {
    int i;
    unsigned char s[];
};

struct foo bar = { .s = "hello" };

I understand that this is likely an incorrect struct definition, but the compiler should give me an error rather than hanging.

Thank you,
Greg