[Bug c/92479] missing warnings for unreachable codes with break (i.e. revive the subset of -Wunreachable-code that fits under clang's -Wunreachable-code-break)

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 20 18:51:40 GMT 2022


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

--- Comment #13 from David Binderman <dcb314 at hotmail dot com> ---
While there are no occurrences of this problem in the gcc source code,
I count six of them in the current Linux kernel source code (v5.16).

Which is more than I would have thought. So this problem does
occur in practice.


More information about the Gcc-bugs mailing list