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++/69884] [6 Regression] warning: ignoring attributes on template argument


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

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