This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Constant fold -A - B as -B - A (take 2)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: schwab at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Feb 03 09:14:32 EST
- Subject: 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.