/cp
commit4273f1a9ea2bed1e7e27f968bb621171e6655570
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2018 20:06:40 +0000 (26 20:06 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Feb 2018 20:06:40 +0000 (26 20:06 +0000)
tree28763431f2806c40cc932242e482d61d55d6d68c
parente6a3ce8a794d6946a36f08abc7df2c0decb6d467
/cp
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84540
* pt.c (tsubst_attributes): Handle correctly tsubst_attribute
returning NULL_TREE.
(apply_late_template_attributes): Likewise.

/testsuite
2018-02-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/84540
* g++.dg/cpp0x/alignas14.C: New.
* g++.dg/cpp0x/alignas15.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258012 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/alignas14.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/alignas15.C [new file with mode: 0644]