Serious code generation/optimisation bug (I think)

Robert Dewar dewar@adacore.com
Wed Jan 28 08:44:00 GMT 2009


Chris Lattner wrote:

>> It will be quite a while before whole program optimization is good
>> enough to prove that my_null_pointer is not referenced by anything
>> else.

Why not just make it volatile, that way, the compiler cannot assume
anything about the value.



More information about the Gcc mailing list