This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79373] For loop optimization bug: condition ignored
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 04 Feb 2017 04:23:54 +0000
- Subject: [Bug c++/79373] For loop optimization bug: condition ignored
- Auto-submitted: auto-generated
- References: <bug-79373-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79373
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I am suspecting this:
t*=65793;
overflows.
Can you try with -fsanitize=undefined ?