* rtl.h (ENABLE_RTL_FLAG_CHECKING): Also check for gcc >= 2.7.

From-SVN: r53352
This commit is contained in:
Kaveh R. Ghazi 2002-05-10 01:30:03 +00:00 committed by Kaveh Ghazi
parent 9525891785
commit 65212b6656
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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) \