This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: target/7380: gcc-3.1.1 powerpc-linux ICE
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jul 2002 15:15:56 +0930
- Subject: Re: target/7380: gcc-3.1.1 powerpc-linux ICE
- References: <20020723022058.GN30362@bubble.sa.bigpond.net.au>
On Tue, Jul 23, 2002 at 11:50:58AM +0930, Alan Modra wrote:
>
> >Number: 7380
> >Category: target
> >Synopsis: ICE in extract_insn, at recog.c:2148
> >Description:
> rs6000.md splitters generate patterns that don't match insns
> >Fix:
> This patch goes a little further than just fixing the immediate problem
> in the (plus:SI (gt:SI ..)) splitter. There were a number of similar
> splitters with missing scratch regs, and after fixing a few I decided
> that a better fix was to remove the need for the scratch reg in the
> insn.
>
> * config/rs6000/rs6000.md: Remove scratch reg on insns using
> addze and similar (plus (comparison r1 r2) r3) insns. Add
> missing scratch reg in one case. Formatting fixes.
I forgot to mention in the PR. Bootstrapped on gcc-3.1 branch,
regression tested powerpc-linux.
--
Alan Modra
IBM OzLabs - Linux Technology Centre