Re:When you see a Heisenbug in C, change your compiler's opt...
by cnvogel on Sunday March 02, 2014 @04:52AM
(#7328504)
Yes, and most often it's clearly warned about, up to the point where lines are completely burried in type-casts, just to shut up the (well meaning) compiler. Because, you know, we thrive for 0-warning compilations!
I saw a large codebase completely break when turning on intermodule inlining. The cause: more opportunities for the compiler to find pointers that aren't allowed to alias.