diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-01-04 01:54:26 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-01-04 01:54:26 +0000 |
commit | 1eb3331e96ce4c7652004ef02da7ca9e72539555 (patch) | |
tree | 416968ea26b7983325a0c2ff0b9e690796ea0157 /gcc/tree-optimize.c | |
parent | 35a91d76115048150dd7700a9606756dec2d8d42 (diff) | |
download | gcc-1eb3331e96ce4c7652004ef02da7ca9e72539555.zip gcc-1eb3331e96ce4c7652004ef02da7ca9e72539555.tar.gz gcc-1eb3331e96ce4c7652004ef02da7ca9e72539555.tar.bz2 |
Fix PR debug/17924 Fix PR debug/19191
2005-01-03 Daniel Berlin <dberlin@dberlin.org>
Fix PR debug/17924
Fix PR debug/19191
* dwarf2out.c (block_ultimate_origin): Follow decl origin if origin
is a decl.
* gimple-low.c (mark_blocks_with_used_vars): New function.
(mark_blocks_with_used_subblocks): Ditto.
(mark_used_blocks): Ditto.
(pass_mark_used_blocks): New pass.
* tree-inline.c: Include debug.h.
(expand_call_inline): Call outlining_inline_function here.
* tree-optimize.c (init_tree_optimization_passes): Add
pass_mark_used_blocks.
* tree-pass.h (pass_mark_used_blocks): New.
* Makefile.in (tree-inline.o): Add debug.h dependency.
From-SVN: r92882
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index eae39df..85cfb3a 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -399,6 +399,7 @@ init_tree_optimization_passes (void) NEXT_PASS (pass_del_ssa); NEXT_PASS (pass_nrv); NEXT_PASS (pass_remove_useless_vars); + NEXT_PASS (pass_mark_used_blocks); NEXT_PASS (pass_cleanup_cfg_post_optimizing); *p = NULL; |