[CFT] Add -Wbounded to gcc
    Pedro Giffuni 
    pfg at freebsd.org
       
    Wed Jul 11 16:12:10 UTC 2012
    
    
  
--- Mer 11/7/12, Dimitry Andric <dim at FreeBSD.org> ha scritto:
...
> 
> Does it catch any really interesting bound overruns?
> 
Nah .. I arrived to the conclusion that it's not
really worth it :).
> If the number of false positives is very large, then it
> generally isn't
> worth the pain.  Or the option should be turned off by
> default, and only
> enabled for WARNS=some_arbitrary_high_number.
> 
It is nice to have but I don't think we should turn it on
for any level. I will have to look at how to do that.
Thanks,
Pedro.
 
    
    
More information about the freebsd-current
mailing list