[testcase] -fssa -fssa-ccp -march=i686 ICE

Richard Henderson rth@redhat.com
Fri Feb 1 15:42:00 GMT 2002


On Sat, Feb 02, 2002 at 12:38:22AM +0100, Jakub Jelinek wrote:
> or recog_for_combine needs to temporarily modify the instruction by
> setting its pattern to pat and back or, if modifying insn is not an
> option, making a dummy insn with PATTERN pat and reg notes copied over).
> What do you think?

Using a dummy insn would eliminate the old_notes frobbing too,
so that would seem the best way.

> --- gcc/testsuite/gcc.dg/20020201-2.c.jj	Thu Aug 30 22:30:55 2001
> +++ gcc/testsuite/gcc.dg/20020201-2.c	Sat Feb  2 01:14:29 2002
> @@ -0,0 +1,14 @@
> +/* { dg-do compile } */

Don't forget to document the failure mode.


r~



More information about the Gcc-patches mailing list