[PATCH] Document arithmetic overflow semantics

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Thu Feb 13 18:29:00 GMT 2003


    How?  Any new optimization that we introduce that takes advantage
    of the undefinedness will both produce different results from the
    current versions of GCC, 

So what?  There's no requirement that erroneous programs produce the
same result in different versions of GCC.

    and will break the Java front-end.

No, because *those* nodes would be marked as *not* being undefined on
overflow.



More information about the Gcc-patches mailing list