— That also just, doesnt make me want to answer your question :P
Probably you have floating point arithmetics miracles there, like falling into NaN or infinity.
You'll need to check.
Why do you use volatile-s their, btw ?
— This flag is only defining the type of debug info to generate. The instruction to generate it is -g, it must be stated separately. And on the link phase you can still remove the debug info by mentioning -s flag, despite the fact it has been generated earlier. So check all this and you'll be fine