[Bug c/79979] For loop fails to exit
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 9 15:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79979
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |mpolacek at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Given the UB you're invoking, all bets are off and the compiler is free to do
anything. I don't think we want to change anything here. Even -Warray-bounds
warns here.
More information about the Gcc-bugs
mailing list