https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
--- Comment #7 from Marek Polacek ---
Author: mpolacek
Date: Wed Feb 22 19:31:49 2017
New Revision: 245657
URL: https://gcc.gnu.org/viewcvs?rev=245657=gcc=rev
Log:
PR c++/79653
* parser.c (cp_parser_std_attribute_spec): Don't
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
--- Comment #5 from Marek Polacek ---
I came up with another testcase that triggers a similar ICE:
template
struct A { alignas(int...) char c; };
A a;
q.cc:2:23: error: expansion pattern ‘#‘tree_list’ not supported by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
--- Comment #4 from Marek Polacek ---
cp_check_const_attributes should check ARG before accessing its TREE_VALUE.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
--- Comment #3 from Marek Polacek ---
Well, this is enough to provoke the ICE:
struct alignas(int...) {}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
--- Comment #2 from Marek Polacek ---
I'm not sure if I should reduce the testcase or just gcc-ify it. Maybe it's
worth it to do the latter.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|