[PATCH] Constant fold -A - B as -B - A (take 2)

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Mon Feb 10 14:11:00 GMT 2003


    Except if you are dealing with unsigned arithmetic, which has defined
    wrap-around semantics.

Yes, of course.  I was going to qualify my message to say that, but I thought
it was unnecessary since MAX_INT and MIN_INT refer to the signed values.

Indeed I meant to refer to just the signed values, which I think this entire
discussion is about.



More information about the Gcc-patches mailing list