https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94658 --- Comment #1 from Pascal Cuoq <pascal_cuoq at hotmail dot com> --- Clang bug for the same optimization in Clang 10 filed at https://bugs.llvm.org/show_bug.cgi?id=45607