https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Feb 16 19:49:19 2017 New Revision: 245516 URL: https://gcc.gnu.org/viewcvs?rev=245516&root=gcc&view=rev Log: PR c++/79502 - lost nodiscard attribute * pt.c (apply_late_template_attributes): Do apply non-dependent attributes to types. Added: trunk/gcc/testsuite/g++.dg/cpp0x/attrib54.C trunk/gcc/testsuite/g++.dg/cpp0x/attrib55.C trunk/gcc/testsuite/g++.dg/cpp1z/nodiscard4.C trunk/gcc/testsuite/g++.dg/ext/attrib53.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c