re PR debug/47106 (-fcompare-debug failure (length) with -fpartial-inlining -flto -fconserve-stack)

PR debug/47106
PR debug/47402
* tree-inline.c (declare_return_variable): Remove unused caller
variable.

From-SVN: r169516
This commit is contained in:
Alexandre Oliva 2011-02-02 06:28:22 +00:00 committed by Alexandre Oliva
parent 83d707929b
commit e829c3213b
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2011-02-02 Alexandre Oliva <aoliva@redhat.com>
PR debug/47106
PR debug/47402
* tree-inline.c (declare_return_variable): Remove unused caller
variable.
PR debug/47106
PR debug/47402
* tree-flow-inline.h (clear_is_used, is_used_p): New.
@ -9,8 +14,6 @@
(dump_scope_block): Likewise.
(remove_unused_locals): Likewise.
2011-02-02 Alexandre Oliva <aoliva@redhat.com>
PR debug/47106
PR debug/47402
* tree-inline.c (declare_return_variable): Add result decl to

View File

@ -2749,7 +2749,6 @@ declare_return_variable (copy_body_data *id, tree return_slot, tree modify_dest,
basic_block entry_bb)
{
tree callee = id->src_fn;
tree caller = id->dst_fn;
tree result = DECL_RESULT (callee);
tree callee_type = TREE_TYPE (result);
tree caller_type;