Re: C++ PATCH for c++/52906 (ICE with attribute by itself)

2012-04-11 Thread Jakub Jelinek
On Wed, Apr 11, 2012 at 01:48:57PM -0400, Jason Merrill wrote: > We can't talk about the type if there is no type. > > Tested x86_64-pc-linux-gnu, applying to trunk. Shouldn't this go to 4.7 too? > commit bc94f519583cdfc705c1bde750a06bbd42537193 > Author: Jason Merrill > Date: Wed Apr 11 10:0

C++ PATCH for c++/52906 (ICE with attribute by itself)

2012-04-11 Thread Jason Merrill
We can't talk about the type if there is no type. Tested x86_64-pc-linux-gnu, applying to trunk. commit bc94f519583cdfc705c1bde750a06bbd42537193 Author: Jason Merrill Date: Wed Apr 11 10:08:37 2012 -0400 PR c++/52906 * decl.c (check_tag_decl): Don't complain about attributes if we