aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-inline.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4137e13..37e925c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -38,6 +38,9 @@
variable new_cond.
(combine_blocks): Remove local variables exits and new_e.
+ * tree-inline.c (expand_call_inline): Remove local variable
+ decl.
+
2005-03-12 Geoffrey Keating <geoffk@apple.com>
* c-lex.c (c_lex_with_flags): Add parameter to call to
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 120bab0..c130e76 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1393,7 +1393,6 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data)
tree expr;
tree stmt;
tree use_retvar;
- tree decl;
tree fn;
tree arg_inits;
tree *inlined_body;
@@ -1604,8 +1603,8 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data)
modify_dest = NULL;
/* Declare the return variable for the function. */
- decl = declare_return_variable (id, return_slot_addr,
- modify_dest, &use_retvar);
+ declare_return_variable (id, return_slot_addr,
+ modify_dest, &use_retvar);
/* After we've initialized the parameters, we insert the body of the
function itself. */