ID |
Summary |
State |
Reported In Release |
Target Release |
Workaround |
Release Notes |
CODEGEN-1703 |
Designated initializer plus struct hack hangs compiler |
Fixed |
ARM_16.6.0.STS, ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
Avoiding using string constants to initialize objects with flexible array members. Instead, use a brace-initialized array. For example:
struct { int a; char b[]; } mystruct = {0, {'h', 'e', 'l', 'l', 'o'} }; |
Fixed a compiler hang caused by initializing flexible array members with string constants.
struct {int a; char b[]; } mystruct = {0, "hello"} /* Would cause the compiler to hang and/or crash */ |
CODEGEN-1640 |
MISRA 19.1 misreported: #include statements should only be preceded by other preprocessor directives |
Planned |
ARM_16.6.0.STS, ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
No practical workaround |
|
CODEGEN-1634 |
MISRA 7.1 misreported: octal tokens in token paste |
Planned |
ARM_16.6.0.STS, ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
No practical workaround |
|
CODEGEN-1632 |
MISRA 15.2 misreported: switch clause unconditional break |
Planned |
ARM_16.6.0.STS, ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
Put an explicit break at the end of the compound statement |
|
CODEGEN-1555 |
Incorrect result for ullong expression passed to abs |
Fixed |
ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
Use llabs instead of abs |
abs(x-y) may compute an incorrect result when x and y are unsigned long long variables. |
CODEGEN-1517 |
#pragma FUNCTION_OPTIONS meaningless unless at least -o0 is used |
Planned |
|
ARM_16.9.0.LTS |
|
|
CODEGEN-1429 |
Software pipelined loop generates different results than loop not pipelined |
Fixed |
ARM_16.9.0.LTS |
ARM_16.9.0.LTS |
Avoid unsigned expressions in subscripts or in computing subscripts, or compile with -o1 or -o0. |
|
SDSCM00052814 |
TMS570LC4357 ECC algorithm not supported |
Fixed |
ARM_16.6.0.STS, ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.1.LTS |
There is a backdoor in the implementation that you can use to realize this new algorithm. Use this algorithm specification:
ECC {
algo_name : address_mask = 0xffffffff
hamming_mask = /* address */
0x53aaa750, 0xeb45d688,
0xa6d54da8, 0x9e353c68,
0x7e0cfc18, 0xfe03fc00,
0x01fffc00, 0xfe0003f8,
/* upper */
0x2E4B2E4B, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0xFF0000FF,
/* lower */
0xD1B4D1B4, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0x00FFFF00,
parity_mask = 0x0c
mirroring = F021
}
If you value your sanity, do not ask where the constants come from. |
Some devices, such as TMS570LC4357 Hercules, have a FLASH bank in high memory, and ECC uses the high bits of the address in the ECC calculation. Therefore, we need to extend the participating address bits mask in the linker-generated ECC handling. |
CODEGEN-1333 |
Structure assignment causes compiler to fail with INTERNAL ERROR: Decomposition error |
Fixed |
ARM_16.6.0.STS |
ARM_16.9.0.LTS |
Replace struct assignments involving packed structures with a memcpy() call to copy the contents of the RHS of the struct assign to the LHS. |
|
CODEGEN-1312 |
RTS header errno.h no longer defines POSIX macros like EFAULT |
Fixed |
ARM_16.3.0.STS |
ARM_16.9.1.LTS |
|
|
SDSCM00040386 |
Remove -olength option from hex utility's help summary and Users Guides |
Fixed |
ARM_16.9.0.LTS |
ARM_16.9.0.LTS |
|
|
SDSCM00052902 |
Assembler incorrectly issues error message: Address must be of a non-global defined in the current section |
Fixed |
ARM_16.6.0.STS, ARM_16.3.0.STS |
ARM_16.9.0.LTS |
The suggested workaround is to go back to 15.12.3.LTS until the next ARM compiler release is available.
Alternately, alter the code such that the target label is a non-global symbol defined in the same section as the branch. If the symbol must be global, add a second non-global label such as fake_label and change the branch to "B fake_label". |
|
SDSCM00052734 |
Internal error in trampoline generation when user defines data symbol named "signal" |
Fixed |
ARM_16.6.0.STS, ARM_16.3.0.STS |
ARM_16.9.0.LTS |
It is a user error to have two different objects in the system with the same name. Rename one of the objects. |
|
SDSCM00052869 |
Incorrect opcode for LDMED and LDMFA |
Fixed |
ARM_16.6.0.STS |
ARM_16.6.0.STS |
None |
|
SDSCM00052861 |
NULL deref when using --minimize_trampolines=postorder |
Fixed |
ARM_16.6.0.STS |
ARM_16.6.0.STS |
As a workaround, use the option --trampolines=off and do not use the option --minimize_trampolines |
|
SDSCM00052603 |
Linker runs auto RTS even when errors have occurred |
Fixed |
|
ARM_16.3.0.STS |
None. |
|
SDSCM00051485 |
Incorrect reordering of nested op= with ++ |
Fixed |
ARM_16.3.0.STS, ARM_16.9.0.LTS |
ARM_16.9.0.LTS |
Don't embed "X op= Y++" under another assignment operator. |
An expression like "a += b += c++" will produce the wrong answer. The problem is specific to sub-expressions of the form "X op= Y++" that occur under another assignment operator. |