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: [Patch]PR rtl-optimization/42691: problematic REG_EQUAL note added to SUBREG


> This patch is to fix the bug 42691, which is a regression from gcc-4.2.1.
>
> 	PR rtl-optimization/42691
> 	* combine.c (try_combine): Clear outdated i3note when dest of I3 is
> 	replaced.

The patch is OK for mainline and 4.4 branch modulo a couple of things:

 1. Add a testcase to gcc.c-torture/execute testsuite; it must be executable 
and for example call abort () when it is miscompiled.

 2. Describe only the change in the ChangeLog: "Set changed_i3_dest if ... and 
tweak comments."  Note that comments are ended with double-space-start-slash.

Thanks for fixing this.

-- 
Eric Botcazou


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