This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29358] Warning issued two times with snprintf
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2015 08:25:22 +0000
- Subject: [Bug c/29358] Warning issued two times with snprintf
- Auto-submitted: auto-generated
- References: <bug-29358-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29358
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Jun 3 08:24:50 2015
New Revision: 224062
URL: https://gcc.gnu.org/viewcvs?rev=224062&root=gcc&view=rev
Log:
PR c/64223
PR c/29358
* tree.c (attribute_value_equal): Handle attribute format.
(cmp_attrib_identifiers): Factor out of lookup_ident_attribute.
* gcc.dg/pr64223-1.c: New test.
* gcc.dg/pr64223-2.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr64223-1.c
trunk/gcc/testsuite/gcc.dg/pr64223-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c