Kaveh R. Ghazi
a54928c932
alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
...
gcc:
* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
* fixinc/gnu-regex.c: Don't define `volatile'.
* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
* ggc-simple.c: Likewise.
* system.h: Don't define `volatile'.
* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
call these macros.
* config.in, configure: Regenerated.
include:
* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.
From-SVN: r68085
2003-06-17 14:10:01 +00:00
Kaveh R. Ghazi
d41c4351fe
ansidecl.h (ATTRIBUTE_NONNULL, [...]): New.
...
include:
* ansidecl.h (ATTRIBUTE_NONNULL, ATTRIBUTE_NULL_PRINTF,
ATTRIBUTE_NULL_PRINTF_1, ATTRIBUTE_NULL_PRINTF_2,
ATTRIBUTE_NULL_PRINTF_3, ATTRIBUTE_NULL_PRINTF_4,
ATTRIBUTE_NULL_PRINTF_5): New.
(ATTRIBUTE_PRINTF): Add ATTRIBUTE_NONNULL.
gcc:
* dwarf2asm.h: Delete obsolete comment.
(dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
dw2_asm_output_pcrel, dw2_asm_output_addr,
dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
From-SVN: r64505
2003-03-17 22:57:27 +00:00
Nathan Tallent
e4aaa2f87d
ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers that may look...
...
* ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
list of platform compilers that may look, smell and act
like __STDC__ but that may not define it.
From-SVN: r58513
2002-10-24 19:36:25 -04:00
Kaveh R. Ghazi
c864312278
* ansidecl.h: Update comments reflecting previous change.
...
From-SVN: r45275
2001-08-29 19:44:39 +00:00
Kaveh R. Ghazi
e2dff3f2f6
ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.
...
include:
* ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.
libiberty:
* concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
From-SVN: r45204
2001-08-27 19:10:39 +00:00
Zack Weinberg
b649398a84
ansidecl.h: Reorganize for readability...
...
include:
* ansidecl.h: Reorganize for readability, remove documentation
of obsolete macros, document PARAMS and VPARAMS. Add new
macros VA_OPEN, VA_CLOSE, and VA_FIXEDARG for nicer variadic
function implementation.
gcc:
* cpperror.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
From-SVN: r45011
2001-08-18 20:46:45 +00:00
Kaveh R. Ghazi
f59328a83d
* ansidecl.h (NULL_PTR): Delete.
...
From-SVN: r41946
2001-05-10 19:11:58 +00:00
Zack Weinberg
d02af17340
ansidecl.h: All logic from gcc/gansidecl.h moved here.
...
include:
* ansidecl.h: All logic from gcc/gansidecl.h moved here.
gcc:
* gansidecl.h: Delete file.
* configure.in: Change all refs to gansidecl.h to use
ansidecl.h. Adjust *_file_list so they know where ansidecl.h
lives.
* configure: Regenerate.
* Makefile.in (intl.o): Don't depend on gansidecl.h.
* defaults.h: s/gansidecl.h/ansidecl.h/ in comment.
* ggc.h, config/fr30/fr30.h, config/mcore/mcore.c:
Don't include gansidecl.h.
* intl.c, main.c, version.c, fixinc/fixlib.h,
fixinc/procopen.c, fixinc/server.c: Include ansidecl.h not
gansidecl.h.
gcc/java:
* Make-lang.in (buffer.o, check-init.o, class.o): Don't depend
on gansidecl.h.
* buffer.c, jvgenmain.c: Don't include gansidecl.h.
libiberty:
* make-temp-file.c (try): Inline.
From-SVN: r41069
2001-04-04 00:46:27 +00:00
Nick Clifton
01f537aba0
Fix copyright dates
...
From-SVN: r40469
2001-03-14 19:44:38 +00:00
Zack Weinberg
8784fdcd69
cpphash.h: Remove conditional #define of __extension__.
...
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
2000-05-06 20:00:03 +00:00
Kaveh R. Ghazi
d94656872d
ansidecl.h (ATTRIBUTE_MALLOC): New macro.
...
* 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-30 23:56:52 +00:00
Philippe De Muyter
6c9821b783
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
1999-11-10 17:57:21 +00:00
Kaveh R. Ghazi
b30bce6b52
ansidecl.h (HAVE_GCC_VERSION): New macro.
...
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-10-10 13:02:41 +00:00
Ian Lance Taylor
e428b1a8c6
* ansidecl.h: Copy attribute support macros from egcs.
...
From-SVN: r28274
1999-07-26 13:22:19 -06:00
Kaveh R. Ghazi
de5809b91d
ansidecl.h: Wrap problematic macros with !IN_GCC.
...
* ansidecl.h: Wrap problematic macros with !IN_GCC.
* demangle.h: Never define PARAMS().
* splay-tree.h: Likewise.
From-SVN: r23574
1998-11-08 14:45:39 +00:00
Jason Merrill
6599da043e
Initial revision
...
From-SVN: r14877
1997-08-21 18:57:35 -04:00