diff options
author | Jan Hubicka <jh@suse.cz> | 2009-02-27 20:49:42 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2009-02-27 19:49:42 +0000 |
commit | cff7525fb078f60cffd2050f93eb7a257cf158a4 (patch) | |
tree | 88b2c40a53c2a5175a5910476fd385f50ff0d754 /gcc/tree-cfg.c | |
parent | c20993b9959c1586b273eba9c50282a7a56064dd (diff) | |
download | gcc-cff7525fb078f60cffd2050f93eb7a257cf158a4.zip gcc-cff7525fb078f60cffd2050f93eb7a257cf158a4.tar.gz gcc-cff7525fb078f60cffd2050f93eb7a257cf158a4.tar.bz2 |
re PR debug/39267 (gdb testsuite regressions)
PR debug/39267
* tree.h (TREE_PROTECTED): Fix comment.
(BLOCK_HANDLER_BLOCK): Remove.
(struct tree_block): Remove handler_block add body_block.
(inlined_function_outer_scope_p): New.
(is_body_block): Remove.
* dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK.
* dwarf2out.c (is_inlined_entry_point): Remove.
(add_high_low_attributes): Use inlined_function_outer_scope_p.
(gen_block_die): Use is_inlined_entry_point check; remove body block code.
* langhooks.h (struct lang_hooks): Remove no_bodu_blocks.
* gimplify.c (gimplify_expr): Gimplify body blocks.
* tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper block
with multiple subblocks.
(dump_scope_block): Prettier output; dump more flags and info.
(dump_scope_blocks): New.
(remove_unused_locals): Use dump_scope_blocks.
* tree-flow.h (dump_scope_blocks): Declare.
* tree-cfg.c (execute_build_cfg): Dump scope blocks.
* stmt.c (is_body_block): Remove.
* tree-inline.c (remap_block): Copy BODY_BLOCK info.
* langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove.
From-SVN: r144474
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 106c58f..5632a89 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -221,6 +221,11 @@ execute_build_cfg (void) build_gimple_cfg (body); gimple_set_body (current_function_decl, NULL); + if (dump_file && (dump_flags & TDF_DETAILS)) + { + fprintf (dump_file, "Scope blocks:\n"); + dump_scope_blocks (dump_file, dump_flags); + } return 0; } |