Closed Defects

ID Summary State Reported In Release Target Release Workaround Release Notes
CODEGEN-5033 Functions in <string> incorrectly return NULL Fixed MSP430_18.9.0.STS MSP430_18.9.0.STS Ignore or suppress the warning. char_traits<char>::find() and char_traits<wchar_t>::find() return char* and wchar_t*, respectively. In our __string file (included by <string>), they are written to return NULL, which is (void*)0 and not the same type as the declaration, thus producing a warning. We have updated the file to make them return 0, which fixes the warnings.
CODEGEN-4638 When shift counts are higher than 32, compiler sometimes optimizes to an incorrect shift count Fixed MSP430_18.9.0.STS MSP430_18.9.0.STS Turn off optimization by using optimization level off. Otherwise, avoid a left-shift by a constant as an operand of the listed operations. However, compiler optimizations could interfere with this. Try keeping the shift count in a global variable instead of as a literal, or computing the shift separately into a variable (a global or volatile local) and doing the |, +, etc, on the variable. Left shifts by 32 or more, as an operand of +, -, &, |, or ^, (eg, ((X<<56) | (Y<<48))) may produce incorrect results.
CODEGEN-4621 Remove COFF global linker symbols from documentation for ELF-only targets Fixed MSP430_18.9.0.STS
CODEGEN-4600 Warning when using pragma RETAIN with attribute((noinit)) Fixed MSP430_18.9.0.STS MSP430_18.9.0.STS When using pragma RETAIN with attribute((noinit)) on the same symbol for an EABI target, a .clink directive is erroneously emitted in the assembly file, leading to a warning that the .CLINK directive is being ignored because the symbol already has .RETAIN specified.
CODEGEN-4307 std::addressof ill-formed on targets with different function and data pointer sizes Fixed MSP430_18.9.0.STS std::addressof does not work for targets with differently sized data and function pointers void f(int) {} void (*ptr)(int) = &f; assert(std::addressof(f) == ptr); // Fails to compile
CODEGEN-4303 Abort on using decltype(auto) to declare a type conversion operator Fixed MSP430_18.9.0.STS
CODEGEN-4274 Various standard classes inherit from std::binary_function when they shouldn't Fixed MSP430_18.9.0.STS According to the synopses of headers in C++14, many classes which do not inherit from std::binary_function do inherit from it as an implementation decision. A sample list are object of the following similar object types: * std::map::value_compare and std::multimap::value_compare * std::plus * std::owner_less
CODEGEN-4033 std::binomial_distribution references undefined function lgamma_r Fixed MSP430_18.9.0.STS Instantiations of std::binomial_distribution fail to link due to the undefined symbol lgamma_r. This is a C11 function which is not provided by the TI C library.
CODEGEN-4020 Auto thread_local variable is causing a reference to __cxa_thread_atexit Fixed MSP430_18.9.0.STS The thread_local specifier, when applied to variables, should currently be ignored because we only support single-threaded environments. However, a global variable with the thread_local specifier, if requiring dynamic initialization, will cause a reference to the standard ABI function __cxa_thread_atexit that can't be resolved by the linker.
CODEGEN-3915 _Pragma doesn't support raw string arguments Fixed MSP430_18.9.0.STS
CODEGEN-3595 Stack usage under reports stack amount used because it fails to handle function aliases Fixed MSP430_18.9.0.STS CCS Stack Assistant did not accurately track aliased functions-- functions whose definitions are represented by a different symbol name. Now, the alias function will be used to determine stack size correctly, and the aliased function call name will be replaced with its alias. Currently, the Stack Assistant GUI is not capable of showing both the aliased and alias function names for calls to aliased functions-- this will require a future update.
SDSCM00014430 calloc doesn't check arguments to make sure the requested size is reasonable Fixed MSP430_18.9.0.STS

Generated on Thu Sep 27 15:15:04 2018