mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 12:35:05 +08:00
re PR bootstrap/34144 (Revision 130005 causes bootstrap failure with --disable-checking)
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. Co-Authored-By: David Daney <ddaney@avtrex.com> From-SVN: r130908
This commit is contained in:
parent
bff98546fb
commit
76ce039e60
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -797,6 +797,11 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
|
||||
/* 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 */
|
||||
|
Loading…
Reference in New Issue
Block a user