This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/17482] GCSE after reload replacing changing instructions
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2004 21:55:06 -0000
- Subject: [Bug rtl-optimization/17482] GCSE after reload replacing changing instructions
- References: <20040914180310.17482.dje@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-14 21:55 -------
It seems that we need to look at autoincrement in postreload gcse. Before
flow, there are no interesting autoincrements, but after reload, we do. So I
think that the bug is that we do not look for autoincs (either in the insn or
via REG_INC notes) and mark regs appearing in them as modified in
mark_oprs_set.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17482