Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/CGT INTERNAL ERROR: Decomposition error occured

$
0
0

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 */
 }
}


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>