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.

C6x __isnan() within <math.h>

It seems that __isnan() within <math.h> always gives a rather annoying "cannot be inlined" message when included in a compile which turns on full diagnostics.

Is it possible to have the __INLINE directive removed from this function?

According to the inlining restrictions listed in README.txt with the 6.1.9 C6x code generation tools, a function cannot be inlined if it:

- Contains a volatile local variable or argument.

And given that the prototype for __isnan() is:

__INLINE int __isnan (volatile double x);

It is obvious is can never be inlined!

Cheers!