This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


    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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]