diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-10 13:02:41 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-10-10 13:02:41 +0000 |
commit | 0a231482f03715ed95ed4fa3d9d8380557054129 (patch) | |
tree | 310d1d76de40ddae5138d2494f3d456112cfa3b0 /gcc/cp | |
parent | 90bf951c3323eff01d10330d8d65f91e04803cd9 (diff) | |
download | gcc-0a231482f03715ed95ed4fa3d9d8380557054129.tar.gz |
include:
* ansidecl.h (HAVE_GCC_VERSION): New macro. Use instead of
explicitly testing __GNUC__ and __GNUC_MINOR__.
(ATTRIBUTE_PRINTF): Use `__format__', not `format'.
gcc:
* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.
* gansidecl.h: Likewise.
* rtl.c: Likewise.
* rtl.h: Likewise.
* toplev.h: Likewise.
* tree.c: Likewise.
* tree.h: Likewise.
* varray.c: Likewise.
* varray.h: Likewise.
cp:
* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__.
f:
* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
__GNUC__ and __GNUC_MINOR__. Don't define BUILT_WITH_270.
Define macro UNUSED in terms of ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29890 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a4ab8c59f17..cd6807acc2a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-10-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing + __GNUC__ and __GNUC_MINOR__. + 1999-10-09 Mark Mitchell <mark@codesourcery.com> * cp-tree.h (make_rtl_for_local_static): New function. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index ea8e495f1ae..82ed8824a8b 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -123,7 +123,7 @@ Boston, MA 02111-1307, USA. */ /* Language-specific tree checkers. */ -#if defined ENABLE_CHECKING && (__GNUC__ > 2 || __GNUC_MINOR__ > 6) +#if defined ENABLE_CHECKING && HAVE_GCC_VERSION(2,7) #define VAR_OR_FUNCTION_DECL_CHECK(NODE) \ ({ const tree __t = NODE; \ |