This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/64491] [5 Regression] incorrect warning: loop exit may only be reached after undefined behavior
- From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 10 Jan 2015 16:49:27 +0000
- Subject: [Bug c++/64491] [5 Regression] incorrect warning: loop exit may only be reached after undefined behavior
- Auto-submitted: auto-generated
- References: <bug-64491-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64491
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2015-01-04 00:00:00 |2015-1-10
CC| |Joost.VandeVondele at mat dot ethz
| |.ch
Summary|warning: loop exit may only |[5 Regression] incorrect
|be reached after undefined |warning: loop exit may only
|behavior |be reached after undefined
| |behavior
Known to fail| |5.0
--- Comment #4 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
The incorrect warning is confirmed.
I wonder if this incorrect analysis could lead to wrong code generation.