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
dyn-string.h
fibheap.h
filenames.h
floatformat.h
fnmatch.h
getopt.h
hashtab.h
libiberty.h builtin-attrs.def (ATTR_SENTINEL, [...]): New. 2004-09-05 02:50:09 +00:00
md5.h
objalloc.h
obstack.h
partition.h
safe-ctype.h
sort.h
splay-tree.h
symcat.h
ternary.h
xregex2.h
xregex.h
xtensa-config.h