https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95149
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With string merging even "foobar" + 3 == "bar" (or not, depending on alignment decision, how hard does the linker optimize etc.). For static vars only if -fmerge-all-constants and the var would be const and contain the same chars.