optimization/6822: GCC 3.1.1 - Internal compiler error in extract_insn, at recog.c:2132

Richard Henderson rth@redhat.com
Tue May 28 10:53:00 GMT 2002


On Tue, May 28, 2002 at 03:54:54AM -1000, Glen Nakamura wrote:
> I believe the following patch is the cause of this PR:
> 
> 2002-05-15  Eric Botcazou  <ebotcazou@multimania.com>
> 
> 	* fold-const.c (fold) [LT_EXPR]: Move the transformation of a

I doubt it.

The problem is that +128 is not a valid QImode constant.
It should have been rendered as -128.  This should have
happened during the conversion to rtl, not in the tree
folding code that Eric touched.

That's not to say that his patch didn't expose a latent bug...


r~



More information about the Gcc-bugs mailing list