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.

C5500 Code Generation Tools 4.3.8 and removing unused functions

Hello,

I have created a function "mydummy" never used and saw, that the compiler doesnot remove it as unused code. (I have created a a mapfile and I find this function listed in GLOBALSYMBOLS in the map file, although I never use it).

My compiling options are:

-os -on2 -ml -k -pm -O3 --algebraic --asm_source=algebraic --symdebug:none --diag_warning=225 --single_inline --remove_hooks_when_inlining --opt_for_speed=5 --sat_reassoc=on --large_memory_model --ptrdiff_size=32 --memory_model=large

 

What do I wrong here?

regards

Micky