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 COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 21:47:20 +00:00
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 Fix copyright dates 2001-03-14 19:44:38 +00:00
getopt.h partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
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 Fix copyright dates 2001-03-14 19:44:38 +00:00
objalloc.h * objalloc.h (OBJALLOC_ALIGN): Define using offsetof. 2001-09-18 23:09:40 +09:30
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 partition.h: Close the extern "C" scope when compiling with C++. 2002-10-27 01:00:34 +00:00
safe-ctype.h safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN... 2003-06-22 15:59:49 +00:00
sort.h demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
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 restore comment 2000-06-01 19:16:50 -04:00
ternary.h cp-demangle.c (demangle_v3_with_details, [...]): Use K+R style function definition. 2001-05-08 06:13:58 +00:00
xregex2.h xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later. 2002-04-16 17:12:54 -07:00
xregex.h xregex.h (_REGEX_RE_COMP): Define. 2001-08-02 19:23:47 -04:00
xtensa-config.h * xtensa-config.h: Undef all macros before defining them. 2003-07-10 05:08:27 +00:00