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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-13
            Summary|Missing bounds check        |Missing bounds check
                   |warning                     |warning without
                   |                            |optimization
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-13 
09:51:38 UTC ---
We only perform array-bounds warnings when we optimize and the VRP pass is
turned on.  We completely miss this kind of warning in the frontend(s),
though they for sure can only detect very simple cases.

Reply via email to