patch that caused regression PR c++/9367

Janis Johnson janis187@us.ibm.com
Mon Feb 24 16:48:00 GMT 2003


The regression reported in PR c++/9367 (which affects GCC 3.3) showed up
with this patch:

2002-05-23  Jason Thorpe  <thorpej@wasabisystems.com>

      * 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.

This information has been added to GNATS.

Janis



More information about the Gcc mailing list