[PATCH] C undefined behavior fix

Richard Henderson rth@redhat.com
Fri Jan 4 15:37:00 GMT 2002


On Sat, Jan 05, 2002 at 10:25:29AM +1100, Paul Mackerras wrote:
> In other words, _hiding_ some information from the compiler turns
> undefined behaviour into implementation-defined behaviour.  Weird.

No, it's still undefined (do you know what "foo" + 5 points to?).
It just happens to work.

Would you _please_ just do the relocation in assembly?  Do I need
to write the code myself in order to end this thread for good?


r~



More information about the Gcc mailing list