https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111246
--- Comment #1 from Luke Geeson <luke.geeson at cs dot ucl.ac.uk> --- Edit: The godbolt link points to the same bug in LLVM I am reporting, here is the GCC godbolt link https://godbolt.org/z/Tan5jrvKa