diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-01 01:00:47 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-01 01:00:47 -0700 |
commit | 1ea463a273df44816d63c3f96292341668a88ef0 (patch) | |
tree | 4334bddc40c1748c1f49a7fa541c7d618176242a /gcc/stmt.c | |
parent | c9b9aa64e97f8ad913c0bfb7897ac187b082d40c (diff) | |
download | gcc-1ea463a273df44816d63c3f96292341668a88ef0.zip gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.gz gcc-1ea463a273df44816d63c3f96292341668a88ef0.tar.bz2 |
function.h (struct function): Remove dont_emit_block_notes.
* function.h (struct function): Remove dont_emit_block_notes.
* gimple-low.c (lower_function_body): Don't set it.
* cfgexpand.c (expand_block): Don't check it.
* cfglayout.c (insn_locators_initialize): Likewise.
* expr.c (expand_expr_real, expand_expr_real_1): Likewise.
* passes.c (rest_of_compilation): Likewise.
* stmt.c (expand_start_bindings_and_block): Likewise.
(expand_end_bindings): Likewise.
From-SVN: r83959
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -2840,13 +2840,7 @@ expand_start_bindings_and_block (int flags, tree block) abort (); /* Create a note to mark the beginning of the block. */ - if (block_flag && !cfun->dont_emit_block_notes) - { - note = emit_note (NOTE_INSN_BLOCK_BEG); - NOTE_BLOCK (note) = block; - } - else - note = emit_note (NOTE_INSN_DELETED); + note = emit_note (NOTE_INSN_DELETED); /* Make an entry on block_stack for the block we are entering. */ @@ -3073,7 +3067,8 @@ warn_about_unused_variables (tree vars) labels (because the front end does that). */ void -expand_end_bindings (tree vars, int mark_ends, int dont_jump_in) +expand_end_bindings (tree vars, int mark_ends ATTRIBUTE_UNUSED, + int dont_jump_in) { struct nesting *thisblock = block_stack; @@ -3165,14 +3160,8 @@ expand_end_bindings (tree vars, int mark_ends, int dont_jump_in) We do this now, after running cleanups on the variables just going out of scope, so they are in scope for their cleanups. */ - if (mark_ends && !cfun->dont_emit_block_notes) - { - rtx note = emit_note (NOTE_INSN_BLOCK_END); - NOTE_BLOCK (note) = NOTE_BLOCK (thisblock->data.block.first_insn); - } - else - /* Get rid of the beginning-mark if we don't make an end-mark. */ - NOTE_LINE_NUMBER (thisblock->data.block.first_insn) = NOTE_INSN_DELETED; + /* Get rid of the beginning-mark if we don't make an end-mark. */ + NOTE_LINE_NUMBER (thisblock->data.block.first_insn) = NOTE_INSN_DELETED; /* Restore the temporary level of TARGET_EXPRs. */ target_temp_slot_level = thisblock->data.block.block_target_temp_slot_level; |