builtin-attrs.def: Update copyright years.
authorJason Thorpe <thorpej@wasabisystems.com>
Thu, 23 May 2002 18:32:12 +0000 (18:32 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Thu, 23 May 2002 18:32:12 +0000 (18:32 +0000)
commit79ed7328ef779277dfd4bca0ab254db30416e6b7
treea0f4ef4e49cca963a0f7c4212cd7cef8b803fee1
parent7d600178a1a29a16894173ce60ebf3599c571ea5
builtin-attrs.def: Update copyright years.

* builtin-attrs.def: Update copyright years.
(ATTR_NONNULL): New attribute identifier.
(ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_3): New
attribute tree lists.
(DEF_FORMAT_ATTRIBUTE): Chain a nonnull attribute for the
format operand.
(ATTR_FORMAT_ARG_1, ATTR_FORMAT_ARG_2): Use...
(DEF_FORMAT_ARG_ATTRIBUTE): ...this to generate format_arg
attribute lists.  Chain the appropriate nonnull attribute.
* c-format.c (check_format_arg): Remove null format string
warning.
* testsuite/gcc.dg/format/null-1.c: New test.

From-SVN: r53801
gcc/ChangeLog
gcc/builtin-attrs.def
gcc/c-format.c
gcc/testsuite/gcc.dg/format/null-1.c [new file with mode: 0644]