http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53655
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-08-19 CC| |janus at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #1) > c) One gets the bogus error: > warning: ‘__copy_MAIN___T2’ defined but not used [-Wunused-function] > It probably should be marked as DECL_ARTIFICIAL(). This problem has apparently been fixed at some point. I see it neither with 4.7.4, 4.8.2 nor with trunk.