This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix PR rtl-optimization/27761 (miscompilation)
- From: Ian Lance Taylor <iant at google dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jim Wilson <wilson at specifix dot com>, Michael Matz <matz at suse dot de>, gcc-patches at gcc dot gnu dot org
- Date: 11 Dec 2006 16:44:56 -0800
- Subject: Re: Fix PR rtl-optimization/27761 (miscompilation)
- References: <Pine.LNX.4.58.0605261805560.4311@wotan.suse.de> <m3y7wo4c7h.fsf@gossamer.airs.com> <20061210113245.GA29911@devserv.devel.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> Jim apparently outlined a fix for this in bugzilla many months ago.
> I have tested that this fixes the bug (on ia64 on both trunk and on
> gcc-4_1-branch) and bootstrapped/regtested it on 7 linux arches.
Next time I think you should shoot for 10 arches.
> 2006-12-08 Jim Wilson <wilson@specifix.com>
> Jakub Jelinek <jakub@redhat.com>
>
> PR rtl-optimization/27761
> * combine.c (try_combine): Don't create a useless garbage SET
> if PATTERN (i2) is a PARALLEL. If added_sets_1, save
> PATTERN (i1) resp. SET from i1src to i1dest in i1pat
> and use it to prevent accidental modification of i1src.
This is OK everywhere.
Thanks.
Ian