aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>1999-11-10 18:57:21 +0100
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-11-10 17:57:21 +0000
commit6c9821b783ceb6f2b12b40980af5b384f112ed89 (patch)
tree3f1f607d7e9b02c763f4e7b5e8778d0e4ee8373e /gcc/rtl.h
parent8bfa6fc532f4fd28091c639b39f058404f779265 (diff)
downloadgcc-6c9821b783ceb6f2b12b40980af5b384f112ed89.zip
gcc-6c9821b783ceb6f2b12b40980af5b384f112ed89.tar.gz
gcc-6c9821b783ceb6f2b12b40980af5b384f112ed89.tar.bz2
ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
include: * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. gcc: * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. * gansidecl.h: Likewise. * rtl.c: Likewise. * rtl.h: Likewise. * toplev.h: Likewise. * tree.c: Likewise. * tree.h: Likewise. * varray.c: Likewise. * varray.h: Likewise. gcc/cp: * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. gcc/f: * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'. Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu> From-SVN: r30477
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index baa4d83..bcf0278 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -226,7 +226,7 @@ typedef struct rtvec_def{
/* General accessor macros for accessing the fields of an rtx. */
-#if defined ENABLE_CHECKING && HAVE_GCC_VERSION(2,7)
+#if defined ENABLE_CHECKING && (GCC_VERSION >= 2007)
/* The bit with a star outside the statement expr and an & inside is
so that N can be evaluated only once. */
#define RTL_CHECK1(RTX, N, C1) \
@@ -1679,10 +1679,10 @@ extern int read_rtx_lineno;
extern void fancy_abort PROTO((const char *, int, const char *))
ATTRIBUTE_NORETURN;
-#if ! HAVE_GCC_VERSION(2,7)
-#define abort() fancy_abort (__FILE__, __LINE__, 0)
-#else
+#if (GCC_VERSION >= 2007)
#define abort() fancy_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
+#else
+#define abort() fancy_abort (__FILE__, __LINE__, 0)
#endif
/* In alias.c */