This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/64491] [5 Regression] incorrect warning: loop exit may only be reached after undefined behavior


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]