From fa5e5a764f6602df0d4b814c49d352f8907cf2e1 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 29 Apr 2011 12:23:46 +0000 Subject: 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 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/gcc-interface/misc.c | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc/ada') diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 2ef97cb..a6f91a5 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 1f00b33..4067e01 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: -- cgit v1.1