[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Leonid Satanovsky changed: What|Removed |Added CC||leonid.satanovsky at gmail dot com --- Comment #7 from Leonid Satanovsky --- Hi. The issue still exists in latest GCC: Here are more diverse examples: https://godbolt.org/z/faaf3K1bj
[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 --- Comment #6 from Jason Merrill --- 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
[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #5 from Jason Merrill --- Fixed.
[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 --- Comment #4 from Jakub Jelinek --- Latest untested patch at: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01051.html The earlier one caused bootstrap failures (this one includes testcases from that as well as adjusted testcases from that, one fails also with GCC 6).
[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-02-14 CC||jason at gcc dot gnu.org Summary|[[nodiscard]] attribute |[c++1z] [[nodiscard]] |ignored for class template |attribute ignored for class ||template Ever confirmed|0 |1