??? 05/31/07 07:11 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#140092 - Avoid problems Responding to: ???'s previous message |
My opinion is different. No two versions.
I use the lowest compilers optimization level that I need in the project, like parameter-in-registers or data-overlaying, or others. It depends on the compiler also (Keil, SDCC). So that can be debugged fine. Never ever I switch to a higher optimization level for the final product then. Can I guarantee that the code is still correct, when I turn on the highest optimization level after test/debug? No I can't. Do the SDCC compiler developers care about the problems with my customers then, no they don't. My tests done before, like code coverage, would be obsolete too. This could turn into a real nightmare! I am responsible for my product, what I deliver must be excactly what I have tested before. |