Re: C++ PATCH for c++/85062, ICE with variadic alignas in wrong place

2018-03-26 Thread Jason Merrill
On Mon, Mar 26, 2018 at 11:57 AM, Jason Merrill wrote: > We've been passing C++11 attributes that appertain to a type-specifier > down to decl_attributes, which gave a warning and ignored them, but it > was confused by the pack expansion. It seems easiest to deal with > this by ignoring them dire

C++ PATCH for c++/85062, ICE with variadic alignas in wrong place

2018-03-26 Thread Jason Merrill
We've been passing C++11 attributes that appertain to a type-specifier down to decl_attributes, which gave a warning and ignored them, but it was confused by the pack expansion. It seems easiest to deal with this by ignoring them directly in grokdeclarator. Tested x86_64-pc-linux-gnu, applying to