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: PR7651: move uninitializable member warning to -Wuninitialized


On Wed, Aug 6, 2008 at 10:54 AM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> Now that -Wuninitialized is enabled independently of optimization
> level, this patch implements the suggestion of Gabriel Does Reis to
> move this particular warning from -Wextra to -Wuninitialized, thus
> helping towards the goal of defining -Wextra strictly in terms of
> other warning flags (PR7651).
>
> http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01843.html
>
> Bootstrapped and regression tested on x86_64-pc-linux-gnu wit
> --enable-languages=all.
>
> OK for trunk?
>
> 2008-08-06  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>
>  PR 7651
>  * doc/invoke.texi (-Wextra): Move warning from here...
>  (-Wuninitialized): ... to here.
> cp/
>  * class.c (check_bases_and_members): Warn with -Wuninitialized
> instead of -Wextra.
> testsuite/
>  * g++.dg/warn/Wuninitializable-member.C: New.
>  * g++.dg/warn/Wuninitializable-member-no.C: New.
>

OK.  Thanks!

-- Gaby


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