http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54046
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org |gnu.org | --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-20 17:27:03 UTC --- Created attachment 28744 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28744 gcc48-pr54046.patch Actually, with a langhook we can already at the C++ FE level get rid of the warning for most of the cases, similarly how we don't warn for g++.dg/warn/Wreturn-type-7.C (PR20681).