This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Fix PR30636, bogus warning and wrong-code


On 2/1/07, Dirk Mueller <dmueller@suse.de> wrote:
On Thursday, 1. February 2007 14:09, Richard Guenther wrote:

> *** testsuite/g++.dg/warn/pr30636.C(revision 0)
> --- testsuite/g++.dg/warn/pr30636.C(revision 0)
> ***************
> *** 0 ****
> --- 1,17 ----
> + /* { dg-do compile } */
> + /* { dg-options "-O2 -Wall" } */
> +

In case -Warray-bounds is ever removed from -Wall, it would be better to
hardcode -Warray-bounds here (also more safe against future updates because
of new warnings added to -Wall).

Applied to mainline.


Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]