aboutsummaryrefslogtreecommitdiff
path: root/include/ansidecl.h
AgeCommit message (Collapse)AuthorFilesLines
2000-05-06cpphash.h: Remove conditional #define of __extension__.Zack Weinberg1-0/+7
gcc: * cpphash.h: Remove conditional #define of __extension__. * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros (ENABLE_RTL_CHECKING only). * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK, CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros (ENABLE_TREE_CHECKING only). * varray.h: Add __extension__ to VARRAY_CHECK macro (ENABLE_CHECKING only). include: * ansidecl.h: #define __extension__ to nothing if GCC_VERSION < 2008. From-SVN: r33733
1999-11-30ansidecl.h (ATTRIBUTE_MALLOC): New macro.Kaveh R. Ghazi1-0/+9
* ansidecl.h (ATTRIBUTE_MALLOC): New macro. * libiberty.h (buildargv, dupargv, concat, choose_temp_base, make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add ATTRIBUTE_MALLOC. (xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN. From-SVN: r30732
1999-11-10ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.Philippe De Muyter1-9/+22
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
1999-10-10ansidecl.h (HAVE_GCC_VERSION): New macro.Kaveh R. Ghazi1-3/+10
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. From-SVN: r29890
1999-07-26* ansidecl.h: Copy attribute support macros from egcs.Ian Lance Taylor1-1/+34
From-SVN: r28274
1998-11-08ansidecl.h: Wrap problematic macros with !IN_GCC.Kaveh R. Ghazi1-2/+11
* ansidecl.h: Wrap problematic macros with !IN_GCC. * demangle.h: Never define PARAMS(). * splay-tree.h: Likewise. From-SVN: r23574
1997-08-21Initial revisionJason Merrill1-0/+154
From-SVN: r14877