PR c++/79502 - lost nodiscard attribute
commite0ac1f176d0c58e9a4d37ec5a648e7c71415dfd9
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2017 19:49:19 +0000 (16 19:49 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Feb 2017 19:49:19 +0000 (16 19:49 +0000)
tree46815e5e2d7e39820e47d6fbf4a625d01bb9f081
parentb66e0800830536ef79e3dec2831e74921fc4f70c
PR c++/79502 - lost nodiscard attribute

* pt.c (apply_late_template_attributes): Do apply non-dependent
attributes to types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245516 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/attrib54.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/attrib55.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/nodiscard4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/attrib53.C [new file with mode: 0644]