https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113514
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> --- Siddhesh, there's some discussion at https://github.com/llvm/llvm-project/pull/78526 as to what the GCC behaviour is supposed to be vs documented.