https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |WONTFIX
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
--- Comment #5 from joseph at codesourcery dot com ---
Note that you can use -fmerge-all-constants to tell the compiler to allow
merging named constant objects (I haven't checked if that helps in this
case, however).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
--- Comment #4 from Antony Polukhin ---
(In reply to Alexander Monakov from comment #3)
> unless the compiler somehow proves that overlap is not
> observable?
Oh, now I see. Here's a valid example:
static const char data1[] = "test";
static con
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
Alexander Monakov changed:
What|Removed |Added
CC||amonakov at gcc dot gnu.org
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91899
--- Comment #1 from Antony Polukhin ---
Godbolt playground: https://godbolt.org/z/UA_Xsm