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
This commit is contained in:
Michael Matz 2011-04-29 12:23:46 +00:00 committed by Michael Matz
parent 413581bae8
commit fa5e5a764f
4 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-04-29 Michael Matz <matz@suse.de>
* gcc-interface/misc.c (gnat_handle_option): Set
warn_maybe_uninitialized.
2011-04-23 Gerald Pfeifer <gerald@pfeifer.com>
* gnat_ugn.texi (Complexity Metrics Control): Update link to

View File

@ -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:

View File

@ -1,3 +1,7 @@
2011-04-29 Michael Matz <matz@suse.de>
* options.c (options.c): Set warn_maybe_uninitialized.
2011-04-28 Tobias Burnus <burnus@net-b.de>
PR fortran/48112

View File

@ -461,6 +461,7 @@ set_Wall (int setting)
warn_return_type = setting;
warn_switch = setting;
warn_uninitialized = setting;
warn_maybe_uninitialized = setting;
}