[Bug c/60998] [MIPS] -O3 produces infinite while() loop. -O2 produces correct code.

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 29 13:50:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60998

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You need to build with -fno-tree-loop-distribute-patterns.  We detect the
loop is doing a memset and replace it with a memset call otherwise.

*** This bug has been marked as a duplicate of bug 56888 ***



More information about the Gcc-bugs mailing list