David Daney <ddaney@avtrex.com>
PR bootstrap/34144
* system.h: Make -Wuninitialized non-fatal if ASSERT_CHECKING
is disabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130908
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-12-13 Andrew Pinski <pinskia@gmail.com>
+ David Daney <ddaney@avtrex.com>
+
+ PR bootstrap/34144
+ * system.h: Make -Wuninitialized non-fatal if ASSERT_CHECKING
+ is disabled.
+
2007-12-13 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/32636
/* Activate -Wcast-qual as a warning (not an error/-Werror). */
#if GCC_VERSION >= 4003
#pragma GCC diagnostic warning "-Wcast-qual"
+/* If asserts are disabled, activate -Wuninitialized as a warning (not
+ an error/-Werror). */
+#ifndef ASSERT_CHECKING
+#pragma GCC diagnostic warning "-Wuninitialized"
+#endif
#endif
#endif /* ! GCC_SYSTEM_H */