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

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.26 14:29:15
                 CC|                            |mikael at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Mikael Morin <mikael at gcc dot gnu.org> 2010-10-26 
14:29:15 UTC ---
(In reply to comment #1)
> Well! You can say the same thing for -fcheck=bounds if writing outside array 
> bounds gives you a segmentation fault! Nevertheless nobody will argue that 
> this
> check is useless: it can save you hours of debugging to locate the line(s) in
> which you do it.
Well, my point was that an out of bound access doesn't necessarily faults
whereas a NULL pointer access always does. 
Anyway, it can't do any harm. Confirmed.

Reply via email to