[Bug middle-end/20290] [4.0/4.1 Regression] Miscompilation on ppc with -Os

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 2 23:09:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list