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
+2010-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * gcc-interface/misc.c (gnat_handle_option): Remove special logic
+ for Wuninitialized without -O.
+
2010-05-16 Eric Botcazou <ebotcazou@adacore.com>
* gcc-interface/gigi.h (enum standard_datatypes): Add new 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. */
+2010-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
+
+ * options.c (set_Wall): Remove special logic for Wuninitialized
+ without -O.
+
2010-05-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/44154
warn_unused = setting;
warn_return_type = setting;
warn_switch = setting;
-
- /* 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 (setting == 0)
- warn_uninitialized = 0;
- else if (warn_uninitialized != 1)
- warn_uninitialized = 2;
+ warn_uninitialized = setting;
}