This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testcase] 3.{1,1.1,2} ICE on IA-32
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>, m dot hayes at elec dot canterbury dot ac dot nz, gcc-patches at gcc dot gnu dot org
- Date: Sun, 4 Aug 2002 15:19:50 -0400
- Subject: Re: [testcase] 3.{1,1.1,2} ICE on IA-32
- References: <20020729190152.G20867@sunsite.ms.mff.cuni.cz> <20020801153033.E2731@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Aug 01, 2002 at 03:30:33PM -0700, Richard Henderson wrote:
> On Mon, Jul 29, 2002 at 07:01:52PM +0200, Jakub Jelinek wrote:
> > Should the fix be some force_reg like function for loop which would try to
> > recog the instruction and if it would not recognize it, would go
> > inside PLUS, MULT or ASHIFT, maybe others, and first do force_reg on the
> > argument, then on the whole pattern with the arguments replaced by the
> > registers (and should it add REG_EQUIV in that case or not)?
>
> Something like that. Merging the following two changes should do the job.
>
> I've not tested this except on your test case. Approved for
> 3.2.1 once the branch is open and this is properly tested.
Bootstrapped, regression tested on {i386,alpha,ia64}-redhat-linux (3.2
branch). Waiting for 3.2 release. Thanks.
> 2002-05-17 Richard Sandiford <rsandifo@redhat.com>
>
> * expr.c (force_operand): Fix reversed move.
>
> Sat May 4 13:20:54 CEST 2002 Jan Hubicka <jh@suse.cz>
>
> * expr.c (force_operand): Use expand_simple_* to handle more
> cases.
Jakub