This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/16803] PowerPC - invariant code motion could be removed from loop.
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2004 19:15:27 -0000
- Subject: [Bug rtl-optimization/16803] PowerPC - invariant code motion could be removed from loop.
- References: <20040728170038.16803.steinmtz@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-07-30 19:15 -------
Branch on count is not used since we do not know whether the loop is not
infinite (which would be the case if y == MAX_INT - SOME_CONST).
The fact that neither of the two rtl loop invariant motion passes nor PRE moves
the invariants out of the loop is weird. I will have a look at that.
Zdenek
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16803