gcc/include
Kaveh Ghazi 3d091dac56 builtin-attrs.def (ATTR_SENTINEL, [...]): New.
gcc:
	* builtin-attrs.def (ATTR_SENTINEL, ATTR_SENTINEL_NOTHROW_LIST):
	New.
	* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP): Add `sentinel'
	attribute.
	* c-common.c (handle_sentinel_attribute, check_function_sentinel):
	New functions.
	(c_common_attribute_table): Add `sentinel' attribute.
	(check_function_arguments): Handle `sentinel' attribute.
	* doc/extend.texi: Document `sentinel' attribute.

gcc/testsuite:
	* gcc.dg/format/sentinel-1.c: New test.

include:
	* ansidecl.h (ATTRIBUTE_SENTINEL): Define.
	* libiberty.h (concat, reconcat, concat_length, concat_copy,
	concat_copy2): Use ATTRIBUTE_SENTINEL.

From-SVN: r87096
2004-09-05 02:50:09 +00:00
..
ansidecl.h builtin-attrs.def (ATTR_SENTINEL, [...]): New. 2004-09-05 02:50:09 +00:00
ChangeLog builtin-attrs.def (ATTR_SENTINEL, [...]): New. 2004-09-05 02:50:09 +00:00
ChangeLog-9103 Split ChangeLog 2004-08-18 13:11:56 +09:30
COPYING
demangle.h demangle.h: Do not use C++ reserved keyword typename as parameter for... 2004-05-04 20:13:54 +02:00
dyn-string.h * dyn-string.h: Update copyright date. 2004-02-25 01:42:20 +00:00
fibheap.h fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if __GNUC__. 2003-12-19 14:37:36 +00:00
filenames.h * filenames.h: New file imported from binutils. 2003-07-01 20:29:16 +00:00
floatformat.h floatformat.h (struct floatformat): Add field "is_valid". 2003-09-22 17:42:03 +00:00
fnmatch.h
getopt.h
hashtab.h * hashtab.h (struct htab): Add size_prime_index. 2004-04-22 10:36:03 -07:00
libiberty.h builtin-attrs.def (ATTR_SENTINEL, [...]): New. 2004-09-05 02:50:09 +00:00
md5.h
objalloc.h
obstack.h libiberty.h (ASTRDUP): Add casts required for stricter type conversion rules of C++. 2004-07-13 22:54:38 +02:00
partition.h
safe-ctype.h safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN... 2003-06-22 15:59:49 +00:00
sort.h
splay-tree.h * hashtab.h, splay-tree.h: Use new shorter form of GTY markers. 2004-03-30 19:23:16 +00:00
symcat.h
ternary.h
xregex2.h
xregex.h
xtensa-config.h * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:08:27 +00:00