This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29358] Warning issued two times with snprintf
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2006 17:17:03 -0000
- Subject: [Bug middle-end/29358] Warning issued two times with snprintf
- References: <bug-29358-13363@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-05 17:17 -------
(In reply to comment #2)
> Did you read the bug report? The problem is that the warning is issued
> twice when it should be issued once.
Woops, I am too tried
>
> I'd guess that the issue that that the system header declares the function
> with a format attribute, and such an attribute is also built in, and the
> duplicate attributes don't get eliminated properly.
That is what it looks like from debug_tree output.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29358