builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 5 Sep 2004 02:55:28 +0000 (02:55 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 5 Sep 2004 02:55:28 +0000 (02:55 +0000)
commit254986c7ff3175c29307b999f161cfcc7961baf4
tree35944d27904d831ba5d78370c59d633d19c4fe13
parent44269c4093f881d5321ee09d40490e1989345bae
builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.

* builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New.
* builtins.def (BUILT_IN_EXECLE): Set ATTR_NOTHROW_SENTINEL_1.
* c-common.c (c_common_attribute_table): Accept parameters to
sentinel attribute.
(check_function_sentinel, handle_sentinel_attribute): Likewise.
* doc/extend.texi: Update accordingly.

testsuite:
* gcc.dg/format/sentinel-1.c: Update for parameter option.

From-SVN: r87098
gcc/ChangeLog
gcc/builtin-attrs.def
gcc/builtins.def
gcc/c-common.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/format/sentinel-1.c