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: Fix PR rtl-optimization/27761 (miscompilation)


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


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