Fix bug reported by Andrew Pinski.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Apr 2008 07:13:44 +0000 (07:13 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Apr 2008 07:13:44 +0000 (07:13 +0000)
* system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134219 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 8644773..fa39283 100644 (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
index f138632..8e06b2d 100644 (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