summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-11-14 19:54:34 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-11-14 19:54:34 +0000
commitfe7c11deec23d951cd5cdfedcaf4d0079c9e03aa (patch)
treec4f80bbaebaf7a111d54299d97b9dd7465360798
parent64dbc8d714aba23e1bb7008f5454e9e7733b0528 (diff)
Revert the `sequence' part of 1.3 - it is actually not necessary and hides
other problems by making the optimizer more eager to optimize out the whole prologue and epilogue away in some cases.
-rw-r--r--gnu/usr.bin/gcc/gcc/config/m88k/m88k.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gnu/usr.bin/gcc/gcc/config/m88k/m88k.c b/gnu/usr.bin/gcc/gcc/config/m88k/m88k.c
index 76bab70a9a8..5fb76f6ccb7 100644
--- a/gnu/usr.bin/gcc/gcc/config/m88k/m88k.c
+++ b/gnu/usr.bin/gcc/gcc/config/m88k/m88k.c
@@ -1985,9 +1985,6 @@ m88k_expand_prologue ()
{
rtx insn;
- start_sequence ();
- emit_note (0, NOTE_INSN_DELETED);
-
m88k_layout_frame ();
if (warn_stack_larger_than && m88k_stack_size > stack_larger_than_size)
@@ -2028,9 +2025,6 @@ m88k_expand_prologue ()
}
if (current_function_profile)
emit_insn (gen_blockage ());
-
- emit_note (0, NOTE_INSN_DELETED);
- end_sequence ();
}
/* This function generates the assembly code for function exit,
@@ -2104,9 +2098,6 @@ m88k_expand_epilogue ()
size, m88k_fp_offset, m88k_stack_size);
#endif
- start_sequence ();
- emit_note (0, NOTE_INSN_DELETED);
-
if (frame_pointer_needed)
{
insn = emit_add (stack_pointer_rtx, frame_pointer_rtx, -m88k_fp_offset);
@@ -2118,9 +2109,6 @@ m88k_expand_epilogue ()
if (m88k_stack_size)
emit_add (stack_pointer_rtx, stack_pointer_rtx, m88k_stack_size);
-
- emit_note (0, NOTE_INSN_DELETED);
- end_sequence ();
}
/* Emit insns to set DSTREG to SRCREG + AMOUNT during the prologue or