This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: combiner bug
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: combiner bug
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 01 Dec 1999 17:44:14 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <9912011023.AA03539@vlsi1.ultra.nyu.edu>you write:
> I'm not real familiar with this code, but this might be the fix. Basic
> ally
> we can't assume the result of a (eq/ne (blah) (const_int 0)) will have
> the value 0 or 1. It will have the value 0 or STORE_FLAG_VALUE (aka
> const_true_rtx).
>
> Yes, of course your change is correct. I don't know what I was thinking
> when I wrote that!
It's fairly easy to miss and doesn't effect ports that are built regularly,
but boy it hosed the m68k ;-)
jeff