From: James E Wilson Date: Sat, 12 Apr 2008 07:13:44 +0000 (-0700) Subject: Fix bug reported by Andrew Pinski. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad7aacbab6559173bff8764c1a771ae0c37ef868;p=gcc.git Fix bug reported by Andrew Pinski. * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING. From-SVN: r134219 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8644773062a..fa3928341cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-11 James E. Wilson + + * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING. + 2008-04-11 H.J. Lu * dse.c (record_store): Use HOST_BITS_PER_WIDE_INT instead diff --git a/gcc/system.h b/gcc/system.h index f1386323d5e..8e06b2d6fef 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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