I have some code that is giving me the correct answer when I compile with -g -G but when I take those debug flags out, I am getting the incorrect answer.
I looked through my kernel,and made sure to initialize every variable, and I had a couple of math functions, abs() and pow() that I thought could be giving me an issue, but I replace the abs with fabasf() as is mentioned in the documentation, and made the pow into a multiplication (since i was just squaring).
What else could be the cause of this? I thought it may be arrays out of bounds, but it seems like I’d get hte same problem in the debug code, and do have some code that I think is correct to keep from going out of array bounds anyway.
Any other ideas?