This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code that won't execute

Has anyone seen problems were sections of code will not execute when compiled at different optimization levels? For example, we have and application that is run from a menu structure through the UART. When different parts of the code seem to behave incorrectly, changing the optimization level from 8 to 9 or 9 to 8 will often solve the problem. I've also had conditions where removing a single character from a printf solved the problem. If anybody has seen this, have you figure out what may be causing this strange behavior.

-Thanks

0