Fix bug reported by Andrew Pinski.

* system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.

From-SVN: r134219
This commit is contained in:
James E Wilson 2008-04-12 00:13:44 -07:00 committed by Jim Wilson
parent 21d16aade8
commit ad7aacbab6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-04-11 James E. Wilson <wilson@tuliptree.org>
* system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.
2008-04-11 H.J. Lu <hongjiu.lu@intel.com>
* dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead

View File

@ -802,7 +802,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
#pragma GCC diagnostic warning "-Wcast-qual"
/* If asserts are disabled, activate -Wuninitialized as a warning (not
an error/-Werror). */
#ifndef ASSERT_CHECKING
#ifndef ENABLE_ASSERT_CHECKING
#pragma GCC diagnostic warning "-Wuninitialized"
#endif
#endif