From ad7aacbab6559173bff8764c1a771ae0c37ef868 Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Sat, 12 Apr 2008 00:13:44 -0700 Subject: [PATCH] Fix bug reported by Andrew Pinski. * system.h: Change ASSERT_CHECKING to ENABLE_ASSERT_CHECKING. From-SVN: r134219 --- gcc/ChangeLog | 4 ++++ gcc/system.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2