diff options
author | Richard Henderson <rth@redhat.com> | 2004-06-30 18:12:19 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-06-30 18:12:19 -0700 |
commit | 4025c040c5d5676e50b8a46d8c3820feb7f55fd8 (patch) | |
tree | 0acb30dc1fe30a10aa0f49858ffea3a987341bb4 /gcc/stmt.c | |
parent | 6a0bec2ce1817d8cb78a4a9c1729855382d412cd (diff) | |
download | gcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.zip gcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.tar.gz gcc-4025c040c5d5676e50b8a46d8c3820feb7f55fd8.tar.bz2 |
function.h (struct function): Remove x_whole_function_mode_p.
* function.h (struct function): Remove x_whole_function_mode_p.
* c-decl.c (store_parm_decls): Don't set it.
* tree-optimize.c (tree_rest_of_compilation): Likewise.
* passes.c (rest_of_compilation): Don't check it.
* stmt.c (expand_fixup): Likewise.
* function.c (fixup_var_refs_insn): Remove unused variable.
fortran/
* trans-decl.c (gfc_generate_function_code): Don't set
x_whole_function_mode_p.
(gfc_generate_constructors): Likewise.
From-SVN: r83947
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 19 |
1 files changed, 6 insertions, 13 deletions
@@ -745,24 +745,17 @@ expand_fixup (tree tree_label, rtx rtl_label, rtx last_insn) block = make_node (BLOCK); TREE_USED (block) = 1; - if (!cfun->x_whole_function_mode_p) - lang_hooks.decls.insert_block (block); - else - { - BLOCK_CHAIN (block) - = BLOCK_CHAIN (DECL_INITIAL (current_function_decl)); - BLOCK_CHAIN (DECL_INITIAL (current_function_decl)) - = block; - } + BLOCK_CHAIN (block) + = BLOCK_CHAIN (DECL_INITIAL (current_function_decl)); + BLOCK_CHAIN (DECL_INITIAL (current_function_decl)) + = block; start_sequence (); start = emit_note (NOTE_INSN_BLOCK_BEG); - if (cfun->x_whole_function_mode_p) - NOTE_BLOCK (start) = block; + NOTE_BLOCK (start) = block; fixup->before_jump = emit_note (NOTE_INSN_DELETED); end = emit_note (NOTE_INSN_BLOCK_END); - if (cfun->x_whole_function_mode_p) - NOTE_BLOCK (end) = block; + NOTE_BLOCK (end) = block; fixup->context = block; end_sequence (); emit_insn_after (start, original_before_jump); |