This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]