https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87613
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |mliska at suse dot cz Component|c++ |tree-optimization --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- The optimization is fixed, the warning is spurious but it cannot be avoided if you do not either add an unreachable return or mark the unreachable path with __builtin_unreachable ().