https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107162

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suppose the better diagnostic would point out that

    if (num > 20)
        return num * num;
    else
        return num + num;

is unreachable?

Reply via email to