[4.2] PR32102 -Wall stomps on -Wstrict-overflow and -Wstrict-aliasing

Manuel López-Ibáñez lopezibanez@gmail.com
Sun Jan 27 18:34:00 GMT 2008


On 24 Jan 2008 10:25:22 -0800, Ian Lance Taylor <iant@google.com> wrote:
> "Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
>
> > 2008-01-24  Manuel Lopez-Ibanez <manu@gcc.gnu.org>
> >
> >   PR 32102
> >   * flags.h (warn_strict_aliasing): Remove.
> >   (warn_strict_overflow): Remove.
> >   * opts.c (warn_strict_aliasing): Remove.
> >   (warn_strict_overflow): Remove.
> >   * c-opts.c (c_common_handle_option): -Wall only sets
> > -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized.
> >   (c_common_post_options): Give default values to -Wstrict-aliasing
> > and -Wstrict-overflow if they are uninitialized.
> >   * common.opt (Wstrict-aliasing): Specify Var and Init.
> >   (Wstrict-overflow): Likewise.
> >
> > testsuite/
> >   * gcc.dg/Wstrict-overflow-21.c: New.
> >   * g++.dg/warn/Wstrict-aliasing-8.C: New.
>
> This is OK for 4.2.
>

I am sorry. I have been away for a few days so I didn't get the chance
to commit this yet. Since there is a RC of 4.2.3, can I commit this
now?

Cheers,

Manuel.



More information about the Gcc-patches mailing list