This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] builtins.c: Remove a local variable that is set but notused.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Mar 2005 10:52:50 -0500 (EST)
- Subject: [patch] builtins.c: Remove a local variable that is set but notused.
Hi,
Attached is a patch to remove a local variable that is set but not
used.
Bootstrapped on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-03-13 Kazu Hirata <kazu@cs.umass.edu>
* builtins.c (expand_builtin_mathfn_3): Remove local variable
before_call.
Index: builtins.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/builtins.c,v
retrieving revision 1.432
diff -u -d -p -r1.432 builtins.c
--- builtins.c 12 Mar 2005 16:14:42 -0000 1.432
+++ builtins.c 13 Mar 2005 00:33:46 -0000
@@ -1990,7 +1990,7 @@ static rtx
expand_builtin_mathfn_3 (tree exp, rtx target, rtx subtarget)
{
optab builtin_optab;
- rtx op0, insns, before_call;
+ rtx op0, insns;
tree fndecl = get_callee_fndecl (exp);
tree arglist = TREE_OPERAND (exp, 1);
enum machine_mode mode;
@@ -2105,8 +2105,6 @@ expand_builtin_mathfn_3 (tree exp, rtx t
end_sequence ();
}
- before_call = get_last_insn ();
-
target = expand_call (exp, target, target == const0_rtx);
return target;