This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testcase] -fssa -fssa-ccp -march=i686 ICE
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Feb 2002 15:42:43 -0800
- Subject: Re: [testcase] -fssa -fssa-ccp -march=i686 ICE
- References: <20020202003822.R618@sunsite.ms.mff.cuni.cz>
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~