public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
@ 2003-02-24 16:36 Janis Johnson
0 siblings, 0 replies; 4+ messages in thread
From: Janis Johnson @ 2003-02-24 16:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/9367; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: levon@movementarian.org, gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
jsm28@cam.ac.uk, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org
Cc:
Subject: Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern
"C" snprintf prototype
Date: Mon, 24 Feb 2003 08:33:08 -0800
The regression 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.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9367
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
@ 2003-03-10 0:10 sayle
0 siblings, 0 replies; 4+ messages in thread
From: sayle @ 2003-03-10 0:10 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jsm28, levon, nobody
Synopsis: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
State-Changed-From-To: analyzed->closed
State-Changed-By: sayle
State-Changed-When: Mon Mar 10 00:10:53 2003
State-Changed-Why:
This problem has now been fixed on both 3.3 and mainline by
my previous pair of patches.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9367
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
@ 2003-02-24 17:46 Joseph S. Myers
0 siblings, 0 replies; 4+ messages in thread
From: Joseph S. Myers @ 2003-02-24 17:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/9367; it has been noted by GNATS.
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Janis Johnson <janis187@us.ibm.com>
Cc: <levon@movementarian.org>, <gcc-gnats@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>
Subject: Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with
extern "C" snprintf prototype
Date: Mon, 24 Feb 2003 17:43:51 +0000 (GMT)
On Mon, 24 Feb 2003, Janis Johnson wrote:
> The regression 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.
And note my comment when this problem was mentioned on the gcc list about
where to look for a fix.
http://gcc.gnu.org/ml/gcc/2003-01/msg00882.html
--
Joseph S. Myers
jsm28@cam.ac.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
@ 2003-01-21 14:18 lerdsuwa
0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2003-01-21 14:18 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jsm28, levon, nobody
Old Synopsis: error: nonnull argument with extern "C" snprintf prototype
New Synopsis: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Tue Jan 21 14:18:27 2003
State-Changed-Why:
Confirmed. A regression from GCC 3.2.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9367
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-10 0:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24 16:36 c++/9367: [3.3/3.4 regression] error: nonnull argument with extern "C" snprintf prototype Janis Johnson
-- strict thread matches above, loose matches on Subject: below --
2003-03-10 0:10 sayle
2003-02-24 17:46 Joseph S. Myers
2003-01-21 14:18 lerdsuwa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).