[Bug middle-end/89269] RISC-V stack variable as global variable
schwab@linux-m68k.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 10 13:28:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89269
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #5 from Andreas Schwab <schwab@linux-m68k.org> ---
GCC generates a copy from a read-only data object to a stack object allocated
for the local variable. If the linker puts that read-only data at a place that
isn't readable then it is a bug in the linker, or the linker script, or the
binary loader. Nothing of that is related to GCC.
More information about the Gcc-bugs
mailing list