This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/59012] alignas does not support parameter pack expansions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59012

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri May  8 04:42:06 2015
New Revision: 222902

URL: https://gcc.gnu.org/viewcvs?rev=222902&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:
    trunk/gcc/testsuite/g++.dg/cpp0x/alignas4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]