This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69884] [6 Regression] warning: ignoring attributes on template argument
- 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, 23 Mar 2016 17:52:28 +0000
- Subject: [Bug c++/69884] [6 Regression] warning: ignoring attributes on template argument
- Auto-submitted: auto-generated
- References: <bug-69884-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69884
--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Mar 23 17:51:56 2016
New Revision: 234433
URL: https://gcc.gnu.org/viewcvs?rev=234433&root=gcc&view=rev
Log:
PR c++/69884
* c.opt (Wignored-attributes): New option.
* pt.c (canonicalize_type_argument): Use OPT_Wignored_attributes.
* doc/invoke.texi: Document -Wignored-attributes.
* g++.dg/warn/Wignored-attributes-1.C: New test.
* g++.dg/warn/Wignored-attributes-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wignored-attributes-1.C
trunk/gcc/testsuite/g++.dg/warn/Wignored-attributes-2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c.opt
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog