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 c/29358] Warning issued two times with snprintf


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


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