https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59012
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Fri May 8 21:15:21 2015 New Revision: 222927 URL: https://gcc.gnu.org/viewcvs?rev=222927&root=gcc&view=rev Log: 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. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/alignas4.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/decl2.c branches/gcc-5-branch/gcc/cp/parser.c branches/gcc-5-branch/gcc/cp/pt.c