--

I have also seen gcc-O3 remove most of a program when a printf was commented out, since the results were no longer needed. We verified this by looking at the assembler output.

--

--

David Allen Burgess
David Allen Burgess

Written by David Allen Burgess

I have worked in telecom since 1998, in both SIGINT and in commercial equipment. I also do expert work in legal cases, see http://telecom-expert.com.

No responses yet