aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-03-25 14:14:33 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-03-25 14:14:33 -0500
commit29ff151469ab396268f6fdb7034818f662dd4899 (patch)
tree6a44fb17f224ab9f7b2ac9a98323dbb124c2bb38 /gcc
parent2049526b765b6838efa5ae8ca4240df491af86b3 (diff)
downloadgcc-29ff151469ab396268f6fdb7034818f662dd4899.zip
gcc-29ff151469ab396268f6fdb7034818f662dd4899.tar.gz
gcc-29ff151469ab396268f6fdb7034818f662dd4899.tar.bz2
(save_for_inline_nocopy): Remove decls of unused vars.
(expand_inline_function): Remove two block-scope decls of unused variable COPY. From-SVN: r6887
Diffstat (limited to 'gcc')
-rw-r--r--gcc/integrate.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index 17929ec..adc457f 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -700,13 +700,8 @@ save_for_inline_nocopy (fndecl)
tree fndecl;
{
rtx insn;
- rtx head, copy;
- tree parms;
- int max_labelno, min_labelno, i, len;
- int max_reg;
- int max_uid;
+ rtx head;
rtx first_nonparm_insn;
- int function_flags;
/* Set up PARMDECL_MAP which maps pseudo-reg number to its PARM_DECL.
Later we set TREE_READONLY to 0 if the parm is modified inside the fn.
@@ -1237,8 +1232,6 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
tree arg = convert (TREE_TYPE (formal), TREE_VALUE (actual));
/* Mode of the variable used within the function. */
enum machine_mode mode = TYPE_MODE (TREE_TYPE (formal));
- /* Where parameter is located in the function. */
- rtx copy;
/* Make sure this formal has some correspondence in the users code
* before emitting any line notes for it. */
@@ -1508,8 +1501,6 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
for (formal = DECL_ARGUMENTS (fndecl), i = 0;
formal; formal = TREE_CHAIN (formal), i++)
{
- rtx copy = arg_vals[i];
-
loc = RTVEC_ELT (arg_vector, i);
if (GET_CODE (loc) == MEM