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 Aug 2004 12:55:36 -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-08-30 12:55 -------
Invariant motion does not recognize y as invariant, since we believe that store
to x[i] may alias y.
As far as I understand the C standard, this is wrong, since short should not be
compatible with int, but maybe I misunderstood this. Diego?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16803