https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80241
--- Comment #5 from Marek Polacek ---
Author: mpolacek
Date: Sat Jun 24 10:50:08 2017
New Revision: 249621
URL: https://gcc.gnu.org/viewcvs?rev=249621=gcc=rev
Log:
PR c++/80241 - ICE with alignas pack expansion.
* error.c (dump_expr): Handle TREE_LIST.
* parser.c (cp_parser_std_attribute_list): Return error_mark if
make_pack_expansion returns an error.
* g++.dg/cpp0x/alignas11.C: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/alignas11.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/error.c
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog