public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/88925] address of static string changes
[not found] <bug-88925-4@http.gcc.gnu.org/bugzilla/>
@ 2022-01-01 10:56 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2022-01-01 10:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88925
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Keywords| |lto, wrong-code
Last reconfirmed| |2022-01-01
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
For what I think should happen is there should be a CONST_DECL which contains
the string and is able to be pulled in and that is the address which gets put
into _ZL12typeDerived2, etc.
Note even with -fno-merge-constants on elf targets, strings are still put into
the .rodata.str1.1 section so the linker is going to merge them anyways.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-01 10:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-88925-4@http.gcc.gnu.org/bugzilla/>
2022-01-01 10:56 ` [Bug lto/88925] address of static string changes pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).