https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81873
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=79996 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- See also bug 79996 for another C++-specific -Wreturn-type false positive. Clang handles this correctly.