ifcvt.c and STORE_FLAG_VALUE

Richard Henderson rth@cygnus.com
Thu May 4 12:22:00 GMT 2000


On Thu, May 04, 2000 at 02:24:27PM -0400, Richard Kenner wrote:
> Note that STORE_FLAG_VALUE can be the most negative number (e.g., a29k),
> so negating it needs to be done carefully in any event.

I'm fairly certain we're safe wrt that, though I did not try
to build and test a29k just to be sure.  The change originally
proposed was

-      if (diff == STORE_FLAG_VALUE || diff == -STORE_FLAG_VALUE)
+      if (diff == STORE_FLAG_VALUE || -diff == STORE_FLAG_VALUE)

which would make no difference wrt INT_MIN.


r~


More information about the Gcc-patches mailing list