summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-20 21:22:55 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-20 21:22:55 +0000
commit1edb3690ac67a2f68d5b7a1507d3d2159b9ae219 (patch)
treecf6c3c48c169fb06b596b3ffc42eb5980f17563d /gcc/stmt.c
parent0e8f5fdeb1aa5193f267b58b80e939ff6d9369af (diff)
downloadgcc-1edb3690ac67a2f68d5b7a1507d3d2159b9ae219.tar.gz
* function.h (struct function) <x_tail_recursion_reentry>:
Rename to x_stack_check_probe_note. (tail_recursion_reentry): Rename to stack_check_probe_note. * function.c: Replace tail_recursion_reentry with stack_check_probe_note everywhere. (expand_function_start): Only emit a note for stack_check_probe_note with -fstack-protect. * stmt.c (expand_case): Don't emit NOTE_INSN_DELETED notes. * emit-rtl.c (remove_unnecessary_notes): Remove. (pass_remove_unnecessary_notes): Remove. * rtl.h (remove_unnecessary_notes): Remove prototype. * final.c (final_start_function): Don't call remove_unnecessary_notes. * tree-pass.h (pass_remove_unnecessary_notes): Remove. * passes.c (pass_remove_unnecessary_notes): Don't run it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index a3e3db3b3b6..be3e876f589 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -2364,19 +2364,9 @@ expand_case (tree exp)
}
- /* Make sure start points to something that won't need any
- transformation before the end of this function. */
- start = get_last_insn ();
- if (! NOTE_P (start))
- {
- emit_note (NOTE_INSN_DELETED);
- start = get_last_insn ();
- }
-
+ before_case = start = get_last_insn ();
default_label = label_rtx (default_label_decl);
- before_case = get_last_insn ();
-
/* Get upper and lower bounds of case values. */
uniq = 0;