* builtin-attrs.def: Update copyright years.
commit314bd4cf6a6176d326128efbe4b829073305b81e
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2002 18:32:12 +0000 (23 18:32 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2002 18:32:12 +0000 (23 18:32 +0000)
treea0f4ef4e49cca963a0f7c4212cd7cef8b803fee1
parent0ba0ef708bc3205de3e1b15d6561694b3d23f4cf
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53801 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtin-attrs.def
gcc/c-format.c
gcc/testsuite/gcc.dg/format/null-1.c [new file with mode: 0644]