https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100
--- Comment #5 from David Binderman <dcb314 at hotmail dot com> --- clang 11.0.0-rc2 also can't find problems in the two above code fragments. This code problem doesn't occur in gcc source code, but there are about a dozen cases in the linux kernel.