diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-16 10:30:39 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-16 10:30:39 +0000 |
commit | 6bda7b348821bfd40d1be3d14ca3452a5163ceaa (patch) | |
tree | 505e5e63a742ae4215bd8f56d425a48677b7934e /gcc/ada/gcc-interface | |
parent | 1b9a7772c4de53713b74bc2e7e865cc2694cd480 (diff) | |
download | gcc-6bda7b348821bfd40d1be3d14ca3452a5163ceaa.tar.gz |
2010-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
ada/
* gcc-interface/misc.c (gnat_handle_option): Remove special logic
for Wuninitialized without -O.
fortran/
* options.c (set_Wall): Remove special logic for Wuninitialized
without -O.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159454 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r-- | gcc/ada/gcc-interface/misc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index c8193f37b8a..0f85393d956 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -209,12 +209,7 @@ gnat_handle_option (size_t scode, const char *arg, int value, case OPT_Wall: warn_unused = value; - - /* We save the value of warn_uninitialized, since if they put - -Wuninitialized on the command line, we need to generate a - warning about not using it without also specifying -O. */ - if (warn_uninitialized != 1) - warn_uninitialized = (value ? 2 : 0); + warn_uninitialized = value; break; /* These are used in the GCC Makefile. */ |