re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto...
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 2 Feb 2011 06:18:01 +0000 (06:18 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Wed, 2 Feb 2011 06:18:01 +0000 (06:18 +0000)
commit83d707929ba5e7da8f22032216b50bad18837152
treeccc3a4712d7c10046df4c3604d1167d5dafaa720
parentaaa2ac931e8979147eeac7fd29d548bcb1ddef99
re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)

PR debug/47106
PR debug/47402
* tree-flow-inline.h (clear_is_used, is_used_p): New.
* cfgexpand.c (account_used_vars_for_block): Use them.
* tree-nrv.c (tree_nrv): Likewise.
* tree-ssa-live.c (remove_unused_scope_block_p): Likewise.
(dump_scope_block): Likewise.
(remove_unused_locals): Likewise.

From-SVN: r169515
gcc/ChangeLog
gcc/cfgexpand.c
gcc/tree-flow-inline.h
gcc/tree-nrv.c
gcc/tree-ssa-live.c