Re: [PATCH] Fix PR c/50332 (FAIL: gcc.dg/attr-invalid.c)

2011-09-08 Thread Dodji Seketeli
Jason Merrill writes: > On 09/08/2011 04:38 PM, Dodji Seketeli wrote: >> +typedef int ATSYM(type) ATTR; /* used attribute is no more > > "no longer" > > OK with that change. Thanks, I am about to commit this: commit 8c9ae9337b04d05ae89aeea0723d41119e713b41 Author: Dodji Seketeli Date: Thu Se

Re: [PATCH] Fix PR c/50332 (FAIL: gcc.dg/attr-invalid.c)

2011-09-08 Thread Jason Merrill
On 09/08/2011 04:38 PM, Dodji Seketeli wrote: +typedef int ATSYM(type) ATTR; /* used attribute is no more "no longer" OK with that change. Jason

[PATCH] Fix PR c/50332 (FAIL: gcc.dg/attr-invalid.c)

2011-09-08 Thread Dodji Seketeli
Hello, To support -Wunused-local-typedefs we mark used typedef decls as being used. Logically, __attribute__((used)) is no more ignored on typedef decls. I forgot to adjust the relevant test of the test suite. My testing should have caught that, but it somehow felt below my radar. Sorry for tha