https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117457
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|regex global buffer |regex global buffer |overflow LTO due to IPA |overflow LTO due to IPA |constprop and having 2 |constprop and having 2 |different string constants |different string constants |across both TU |across both TU due not | |merging strings of | |-fsanitize=address --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > The reason why you need -fsanitize=address to hit the bug is you need a > large enough TU to have it split into 2 ltrans. The other reason is with -fsanitize=address, strings are NOT merged and that causes the other side of things.