From: Michael Matz Date: Fri, 29 Apr 2011 12:23:46 +0000 (+0000) Subject: misc.c (gnat_handle_option): Set warn_maybe_uninitialized. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa5e5a764f6602df0d4b814c49d352f8907cf2e1;p=gcc.git misc.c (gnat_handle_option): Set warn_maybe_uninitialized. ada/ * gcc-interface/misc.c (gnat_handle_option): Set warn_maybe_uninitialized. fortran/ * options.c (options.c): Set warn_maybe_uninitialized. From-SVN: r173154 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2ef97cbdf5d..a6f91a55b40 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2011-04-29 Michael Matz + + * gcc-interface/misc.c (gnat_handle_option): Set + warn_maybe_uninitialized. + 2011-04-23 Gerald Pfeifer * gnat_ugn.texi (Complexity Metrics Control): Update link to diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index 1f00b33ace3..4067e01e78d 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -112,6 +112,7 @@ gnat_handle_option (size_t scode, const char *arg ATTRIBUTE_UNUSED, int value, case OPT_Wall: warn_unused = value; warn_uninitialized = value; + warn_maybe_uninitialized = value; break; case OPT_Wmissing_prototypes: diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7f797b4acf9..199495c2926 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2011-04-29 Michael Matz + + * options.c (options.c): Set warn_maybe_uninitialized. + 2011-04-28 Tobias Burnus PR fortran/48112 diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index bc65f6bf66b..9c0e0002e90 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -461,6 +461,7 @@ set_Wall (int setting) warn_return_type = setting; warn_switch = setting; warn_uninitialized = setting; + warn_maybe_uninitialized = setting; }