https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114682
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I was imspired to look into this because of https://github.com/llvm/llvm-project/issues/88274 (note LLVM does a worse job here and does not constant loads the string either).