This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: target/7380: gcc-3.1.1 powerpc-linux ICE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]