diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-01-09 02:34:52 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-01-08 18:34:52 -0800 |
commit | 984179689f29e1a1d257e1aa63bdaca9c0ec89b2 (patch) | |
tree | dbf2a36d2d73ed7021f72a392c73ed685fd767e4 /gcc | |
parent | e46e313075557699ec4817065e563c11b5e29848 (diff) | |
download | gcc-984179689f29e1a1d257e1aa63bdaca9c0ec89b2.zip gcc-984179689f29e1a1d257e1aa63bdaca9c0ec89b2.tar.gz gcc-984179689f29e1a1d257e1aa63bdaca9c0ec89b2.tar.bz2 |
re PR rtl-optimization/8750 (Cygwin prolog generation erroneously emitting __alloca as regular function call)
PR optimization/8750
* config/i386/i386.c (ix86_expand_prologue): Don't allow
scheduling pass to move insns across __alloca call.
From-SVN: r61068
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d795da..874920c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-01-08 Danny Smith <dannysmith@users.sourceforge.net> + + PR optimization/8750 + * config/i386/i386.c (ix86_expand_prologue): Don't allow + scheduling pass to move insns across __alloca call. + 2003-01-08 Dale Johannesen <dalej@apple.com> * config/rs6000/rs6000.md: Replace *store_multiple_string diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index c8d02a4..64618f8 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4800,6 +4800,10 @@ ix86_expand_prologue () CALL_INSN_FUNCTION_USAGE (insn) = gen_rtx_EXPR_LIST (VOIDmode, gen_rtx_USE (VOIDmode, arg0), CALL_INSN_FUNCTION_USAGE (insn)); + + /* Don't allow scheduling pass to move insns across __alloca + call. */ + emit_insn (gen_blockage (const0_rtx)); } if (use_mov) { |