Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2012 09:12:03 -0700 (PDT)
From:      Pedro Giffuni <pfg@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: [CFT] Add -Wbounded to gcc
Message-ID:  <1342023123.27181.YahooMailClassic@web113519.mail.gq1.yahoo.com>
In-Reply-To: <4FFD2D94.9040805@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


--- Mer 11/7/12, Dimitry Andric <dim@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1342023123.27181.YahooMailClassic>