[Bug c/59933] for loop goes wild with assert() enabled

ian at g0tcd dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 29 12:25:00 GMT 2014


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

Ian Hamilton <ian at g0tcd dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at g0tcd dot com

--- Comment #2 from Ian Hamilton <ian at g0tcd dot com> ---
I found a similar bug in 4.8.1.

See bug report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59982

You could try adding the -fno-aggressive-loop-optimizations flag and see if
that fixes your problem with assert() enabled.



More information about the Gcc-bugs mailing list