https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61162 --- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> --- I posted a patch, but the location for a return stmt will need more surgery than that.