This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60063] [5/6/7/8 Regression] -Wunused-local-typedefs warning despite attribute used in a template
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 18 Jun 2017 04:55:11 +0000
- Subject: [Bug c++/60063] [5/6/7/8 Regression] -Wunused-local-typedefs warning despite attribute used in a template
- Auto-submitted: auto-generated
- References: <bug-60063-4@http.gcc.gnu.org/bugzilla/>
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