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++/60063] [5/6/7/8 Regression] -Wunused-local-typedefs warning despite attribute used in a template


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60063

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sun Jun 18 04:54:37 2017
New Revision: 249346

URL: https://gcc.gnu.org/viewcvs?rev=249346&root=gcc&view=rev
Log:
        PR c++/60063 - -Wunused-local-typedefs and templates.

        * decl2.c (is_late_template_attribute): Return false for "used".

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/warn/Wunused-local-typedefs-4.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/decl2.c

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