[Bug target/70064] Wrong code with custom flags and quite big testcase @ i686

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 4 12:30:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70064

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The comment in the source says pretty much that -mred-zone defines a new ABI
for ia32, and that user is responsible to make sure the stack in the red zone
is preserved.  In non-leaf functions, I believe red zone is not used anyway, or
at least can't be used to store data across calls.  The problem with the PIC
setup sequence is that it actually is a call, but doesn't make the function
non-leaf.
Which is why I wrote #c5.


More information about the Gcc-bugs mailing list