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?
rguenth at gcc dot gnu.org via Gcc-bugs Thu, 06 Oct 2022 03:47:30 -0700
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?