[Bug c/71567] Incorrect loop optimization
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 21 20:55:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71567
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Try -fno-aggressive-loop-optimizations .
Note that it is not ensured that switch will disable all optimizations that
rely on undefined behavior: https://gcc.gnu.org/wiki/FAQ#misoptimization
Your code is still broken and it may get miscompiled with a different version
of GCC or a different compiler or due to any changes to the surrounding code.
More information about the Gcc-bugs
mailing list