Fix bug reported by Andrew Pinski.
authorJames E Wilson <wilson@tuliptree.org>
Sat, 12 Apr 2008 07:13:44 +0000 (00:13 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 12 Apr 2008 07:13:44 +0000 (00:13 -0700)
* system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING.

From-SVN: r134219

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