PR c++/59012
commite829f68a9b1f4f3e34588704710c6e88f3703a28
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 May 2015 04:42:06 +0000 (8 04:42 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 May 2015 04:42:06 +0000 (8 04:42 +0000)
treeb2591e49fe79dd3800adbf26cc69f460692ac9a4
parentd85127c17a90eb46b63e5ffdfdcc182f21bf90d4
PR c++/59012
* parser.c (cp_parser_std_attribute_list): Handle attribute expansion.
(cp_parser_std_attribute_spec): Handle alignas pack expansion.
* decl2.c (is_late_template_attribute): An attribute exp is dependent.
* pt.c (make_pack_expansion): Allow TREE_LIST for attribute expansion.
(apply_late_template_attributes): Handle attribute pack expansion.

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