re PR c++/84540 (ICE with alignas in variadic template)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 26 Feb 2018 20:06:40 +0000 (20:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 26 Feb 2018 20:06:40 +0000 (20:06 +0000)
commit08735f538cd94d5be5fa1b8ee79bfabc7f530a8a
tree28763431f2806c40cc932242e482d61d55d6d68c
parent2bb03eb72f5b55edc6deadc2e0320a046d046fa8
re PR c++/84540 (ICE with alignas in variadic template)

/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.

From-SVN: r258012
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]