On 05/21/2012 09:53 AM, Dodji Seketeli wrote:
I have changed the gcc+.dg/warn/Wunused-local-typedefs.C test case to make it use -Wunused instead of -Wunused-local-typedefs. I had to adjust it to avoid the warnings due to the other -W* options triggered by -Wunused there.
Hmm, I might have added another test to make sure that -Wunused enables -Wunused-local-typedefs rather than scatter attribute ((unused)) all around this one, but I guess this way is fine too.
The patch is OK. Jason