[Bug target/39118] [4.3/4.4 Regression] x86_64 red zone violation
uros at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 11 11:54:00 GMT 2009
------- Comment #20 from uros at gcc dot gnu dot org 2009-02-11 11:53 -------
Subject: Bug 39118
Author: uros
Date: Wed Feb 11 11:53:47 2009
New Revision: 144101
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144101
Log:
PR target/39118
* config/i386/i386.md (UNSPEC_MEMORY_BLOCKAGE): New constant.
(memory_blockage): New expander.
(*memory_blockage): New insn pattern.
* config/i386/i386.c (ix86_expand_prologue): Use memory_blockage
instead of general blockage at the end of function prologue when
frame pointer is used to access red zone area. Do not emit blockage
when profiling, it is emitted in generic code.
(ix86_expand_epilogue): Emit memory_blockage at the beginning of
function epilogue when frame pointer is used to access red zone area.
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/i386/i386.c
branches/gcc-4_3-branch/gcc/config/i386/i386.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39118
More information about the Gcc-bugs
mailing list