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.

Compiler/DRA71: CGT for TI C66 DSP GCC attribute noinline not working on methods entierly defined in a class

Part Number: DRA71

Tool/software: TI C/C++ Compiler

The TI CGT for TI C66 DSP doesn't handle the GCC noinline attribute as GCC for methods defined entirely in a class. See attached example code.

Compile with

cl6x -c inline-noinline.cpp

Note! Using pragma FUNC_CANNOT_INLINE works. My understanding is that the GCC attribute noinline shall work exactly as the FUNC_CANNOT_INLINE pragma.

CGT version: TMS320C6x C/C++ Compiler v8.2.4.

inline-noinline.cpp