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

Glen Nakamura glen@imodulo.com
Sun Jun 2 13:02:00 GMT 2002


On Sun, Jun 02, 2002 at 12:27:26PM -0700, Richard Henderson wrote:
> On Tue, May 28, 2002 at 05:33:01PM -1000, Glen Nakamura wrote:
> > 	* fold-const.c (fold): Modify the transformation of a comparison
> > 	against the highest or lowest integer value to adjust for the
> > 	previous transformation which converts 'X >= CST to X > (CST - 1)'
> > 	and 'X < CST to X <= (CST - 1)'.
> 
> Would you update this for mainline?  I believe we fixed the
> regression for the branch another way, but if there are 
> valid simplifications we're missing...
> 

Okay, I'll do that...  As you pointed out earlier, PR6822 was really a
different problem.  I'll update the patch for the mainline and open a new
PR to track the discussion.  Then, you can decide if it's worth it for
the branch or not.

- Glen Nakamura



More information about the Gcc-bugs mailing list