re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto...
authorAlexandre Oliva <aoliva@redhat.com>
Fri, 21 Jan 2011 14:57:33 +0000 (14:57 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 21 Jan 2011 14:57:33 +0000 (14:57 +0000)
commit1c7d0b34dcb5810c6da08a672af1ab7d1499fe1b
tree755d1d58491daff3fda926aecf62711e4f7c668b
parentf99cc488e2dce167370c00d1948fe2846acab19c
re PR debug/47106 (-fcompare-debug failure (length) with  -fpartial-inlining -flto -fconserve-stack)

PR debug/47106
* cfgexpand.c (account_used_vars_for_block): Only account vars
that are annotated as used.
(estimated_stack_frame_size): Don't set TREE_USED.
* tree-dfa.c (create_var_ann): Mark variable as used.

From-SVN: r169093
gcc/ChangeLog
gcc/cfgexpand.c
gcc/tree-dfa.c