http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54372
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-09-18 CC| |paolo.carlini at oracle dot | |com Ever Confirmed|0 |1 --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-09-18 12:38:48 UTC --- Now that the new warning is also in -Wall, it would be nice to fix this. Note that local variables are already "more than Ok", that is at template definition time we produce no -Wunused warnings at all even without the attribute (we only warn at instantiation time): I suppose something similar should be not too difficult to implement for the new warning too... Dodji, what do you think?