This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29358] Warning issued two times with snprintf



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]