]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR debug/47106
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2011 06:28:22 +0000 (06:28 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Feb 2011 06:28:22 +0000 (06:28 +0000)
PR debug/47402
* tree-inline.c (declare_return_variable): Remove unused caller
variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169516 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-inline.c

index 8f2c36ce6c24790d59d72d30e582f46677861e02..a8d1591dd487a25bead18cd1182668ab0d21fe58 100644 (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
index 0a10df70422f9536a69c00ee3201cc0b0be25036..8cfdb287d9c3a9dcd3a00b1f55174de55c0c7023 100644 (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;