[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-patches
Subject:    Re: [PATCH][RFC] Add a subset of -Warray-bounds warnings to C/C++  front ends
From:       Tom Tromey <tromey () redhat ! com>
Date:       2008-04-15 18:49:46
Message-ID: m3r6d7uf5h.fsf () fleche ! redhat ! com
[Download RAW message or body]

>>>>> "Simon" == Simon Baldwin <simonb@google.com> writes:

Simon> One thing I wasn't able to fathom was how to suppress warnings
Simon> about "sizeof(a[-1])" in the C and C++ frontends; if anyone's got any
Simon> hints on this, I'd love to hear them.

The global 'skip_evaluation' is set while handling sizeof and some
other things.  It may be what you want.

Tom
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic