http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29615
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-05 05:43:22 UTC --- The submitter said that he expected a warning, and it seems correct to me. It would probably be good to have a general mechanism for disabling individual warnings by code number, but apart from that I don't see any need to be able to disable this one.