On 2012-07-11 05:41, Pedro Giffuni wrote:
I have a patch from OpenBSD that adds -Wbounded to gcc:
http://people.freebsd.org/~pfg/patches/patch-gcc-bounded
Unfortunately it breaks world, or at least binutils, at this time:
_
...
cc1: warnings being treated as errors
peigen.c:
--- Mer 11/7/12, Dimitry Andric d...@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
Hello;
I have a patch from OpenBSD that adds -Wbounded to gcc:
http://people.freebsd.org/~pfg/patches/patch-gcc-bounded
Unfortunately it breaks world, or at least binutils, at this time:
_
...
cc1: warnings being treated as errors
peigen.c: In function '_bfd_pei_swap_aux_in':
On Tue, Jul 10, 2012 at 10:41:44PM -0500, Pedro Giffuni wrote:
I have a patch from OpenBSD that adds -Wbounded to gcc:
http://people.freebsd.org/~pfg/patches/patch-gcc-bounded
Unfortunately it breaks world, or at least binutils, at this time:
_
...
cc1: warnings being treated