diff options
author | Richard Guenther <rguenther@suse.de> | 2009-12-01 10:02:24 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-12-01 10:02:24 +0000 |
commit | c7ba0cfb619b379a84535227d60d86f64fe086d7 (patch) | |
tree | 9339d860b9e899a5c55952fd737f529f264d99eb /gcc/tree-ssa-live.c | |
parent | b7d5e87b0780ff54f2ade45aabaea5cd7148ec86 (diff) | |
download | gcc-c7ba0cfb619b379a84535227d60d86f64fe086d7.tar.gz |
final.c (rest_of_clean_state): If -fcompare-debug is given dump final insns without UIDs.
2009-12-01 Richard Guenther <rguenther@suse.de>
* final.c (rest_of_clean_state): If -fcompare-debug is
given dump final insns without UIDs.
* tree-ssa-live.c (remove_unused_scope_block_p): Remove
after_inlining checks.
From-SVN: r154869
Diffstat (limited to 'gcc/tree-ssa-live.c')
-rw-r--r-- | gcc/tree-ssa-live.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/tree-ssa-live.c b/gcc/tree-ssa-live.c index d75edb5a061..c0ccb4fe20d 100644 --- a/gcc/tree-ssa-live.c +++ b/gcc/tree-ssa-live.c @@ -475,11 +475,7 @@ remove_unused_scope_block_p (tree scope) type is used or not. */ else if (debug_info_level == DINFO_LEVEL_NORMAL - || debug_info_level == DINFO_LEVEL_VERBOSE - /* Removing declarations before inlining is going to affect - DECL_UID that in turn is going to affect hashtables and - code generation. */ - || !cfun->after_inlining) + || debug_info_level == DINFO_LEVEL_VERBOSE) ; else { @@ -527,12 +523,6 @@ remove_unused_scope_block_p (tree scope) eliminated. */ else if (!nsubblocks) ; - /* If there are live subblocks and we still have some unused variables - or types declared, we must keep them. - Before inliing we must not depend on debug info verbosity to keep - DECL_UIDs stable. */ - else if (!cfun->after_inlining && BLOCK_VARS (scope)) - unused = false; /* For terse debug info we can eliminate info on unused variables. */ else if (debug_info_level == DINFO_LEVEL_NONE || debug_info_level == DINFO_LEVEL_TERSE) |