aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/rtl.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 19c0688..94b8790 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.
+
2002-05-09 Neil Booth <neil@daikokuya.demon.co.uk>
* Makefile.in: Update.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index be37b03..2406b73 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -337,7 +337,7 @@ extern void rtvec_check_failed_bounds PARAMS ((rtvec, int,
/* Access an individual rtx flag, with no checking of any kind. */
#define RTX_FLAG(RTX, FLAG) ((RTX)->FLAG)
-#if defined ENABLE_RTL_FLAG_CHECKING
+#if defined ENABLE_RTL_FLAG_CHECKING && (GCC_VERSION >= 2007)
#define RTL_FLAG_CHECK1(NAME, RTX, C1) __extension__ \
({ rtx const _rtx = (RTX); \
if (GET_CODE(_rtx) != C1) \