aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb.gcc@gmail.com>2006-03-20 21:22:55 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2006-03-20 21:22:55 +0000
commitede497cfbd518c7fafda85bc7b5e26899e5b0f14 (patch)
treecf6c3c48c169fb06b596b3ffc42eb5980f17563d /gcc/stmt.c
parente13f1c1432140a43edd23a50c3916fa41fadd610 (diff)
downloadgcc-ede497cfbd518c7fafda85bc7b5e26899e5b0f14.zip
gcc-ede497cfbd518c7fafda85bc7b5e26899e5b0f14.tar.gz
gcc-ede497cfbd518c7fafda85bc7b5e26899e5b0f14.tar.bz2
function.h (struct function): Rename to x_stack_check_probe_note.
* 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. From-SVN: r112229
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 a3e3db3..be3e876 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;