This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20290] [4.0/4.1 Regression] Miscompilation on ppc with -Os
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Mar 2005 23:09:07 -0000
- Subject: [Bug middle-end/20290] [4.0/4.1 Regression] Miscompilation on ppc with -Os
- References: <20050302203320.20290.jakub@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jakub at gcc dot gnu dot org 2005-03-02 23:09 -------
The bug goes away with -Os -floop-optimize2, it is just the old loop optimizer
that doesn't handle this properly. It seems to me that loop.c really can't
do its job correctly if it doesn't detect where the loop header and latch
are and if a BIV increments are done in header, latch or body.
Zdenek, any ideas what to do with this?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
AssignedTo|jakub at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20290