Hello,
I got the following compiler error message. Could you tell me what's the cause? I tried to add -gcc option, but this didn't solve my problem.
- DSP: C66xx
- CCS: v5.1.1
- CGT: v7.4.2
INTERNAL ERROR: Decomposition error
This may be a serious problem. Please contact customer support with a description of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.
Cannot continue compilation - ABORTING!
--------
#pragma pack(2)
#define MAX_MSG 16
struct st_msg {
unsigned short count;
unsigned char msg[MAX_MSG];
};
typedef struct st_msg ST_MSG;
ST_MSG g_message;
void main(void) {
int i;
for (i = 0; i < MAX_MSG; i++) {
g_message.msg[i]; /* for test */
}
}