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: [RFA:] Fix PR rtl-optimization/20527, combine mishandlingpostincrement


On Tue, 22 Mar 2005, Hans-Peter Nilsson wrote:
>
> 	PR rtl-optimization/20527
> 	* combine.c (can_combine_p) [AUTO_INC_DEC]: When INSN has an
> 	REG_INC note, test that the register also isn't mentioned in PRED
> 	or SUCC.
>
> gcc/testsuite:
> 	* gcc.c-torture/execute/pr20527-1.c: New test.

This is OK for mainline.  If there are no reported problems with this
change after two or three days, OK for the 4.0 and 3.4 branches (after
bootstraps and regression tests against the relevant branch).

Thanks for fixing this.  There's a possibility that this may also
be related to PR 19454, which was recently shown by Joseph Myers
to be related to handling post_inc expressions in combine.c:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01980.html

Roger
--


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