aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-03-25 13:59:11 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-03-25 13:59:11 -0500
commitf24ad0e4a823c81135ec3c34158792a501af7922 (patch)
treed3a5468a9d071241a1f4e1dd014cd240051ead96 /gcc
parent0dd4a7035f80cae3e1c80553efc9dfd006094903 (diff)
downloadgcc-f24ad0e4a823c81135ec3c34158792a501af7922.zip
gcc-f24ad0e4a823c81135ec3c34158792a501af7922.tar.gz
gcc-f24ad0e4a823c81135ec3c34158792a501af7922.tar.bz2
(try_combine): Remove decls of unused variables.
(subst): Remove decls of unused variables ORIG_CODE. (simplify_if_then_else): Remove decl of unused variable C2. (make_compound_operation): Remove decl of unused variable COUNT. (known_cond): Remove decl of unused variable NEW. (make_field_assignment): Remove decl of unused variable OURDEST. (simplify_and_const_int): Remove decls of unused variables. (simplify_shift_const): Remove decl of unused variable INNER. From-SVN: r6876
Diffstat (limited to 'gcc')
-rw-r--r--gcc/combine.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 077483f..49b3b80 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -2006,7 +2006,6 @@ try_combine (i3, i2, i1)
/* If we had to change another insn, make sure it is valid also. */
if (undobuf.other_insn)
{
- rtx other_notes = REG_NOTES (undobuf.other_insn);
rtx other_pat = PATTERN (undobuf.other_insn);
rtx new_other_notes;
rtx note, next;
@@ -2056,8 +2055,6 @@ try_combine (i3, i2, i1)
rtx i3notes, i2notes, i1notes = 0;
rtx i3links, i2links, i1links = 0;
rtx midnotes = 0;
- int all_adjacent = (next_real_insn (i2) == i3
- && (i1 == 0 || next_real_insn (i1) == i2));
register int regno;
/* Compute which registers we expect to eliminate. */
rtx elim_i2 = (newi2pat || i2dest_in_i2src || i2dest_in_i1src
@@ -2743,7 +2740,7 @@ subst (x, from, to, in_dest, unique_copy)
int in_dest;
int unique_copy;
{
- register enum rtx_code code = GET_CODE (x), orig_code = code;
+ register enum rtx_code code = GET_CODE (x);
enum machine_mode op0_mode = VOIDmode;
register char *fmt;
register int len, i;
@@ -4059,7 +4056,7 @@ simplify_if_then_else (x)
rtx cond_op1 = XEXP (cond, 1);
enum rtx_code op, extend_op = NIL;
enum machine_mode m = mode;
- rtx z = 0, c1, c2;
+ rtx z = 0, c1;
if (f == const0_rtx)
return gen_binary (MULT, mode, gen_binary (true_code, mode, cond_op0,
@@ -5279,7 +5276,7 @@ make_compound_operation (x, in_code)
enum machine_mode mode = GET_MODE (x);
int mode_width = GET_MODE_BITSIZE (mode);
enum rtx_code next_code;
- int i, count;
+ int i;
rtx new = 0;
rtx tem;
char *fmt;
@@ -6218,7 +6215,7 @@ known_cond (x, cond, reg, val)
rtx reg, val;
{
enum rtx_code code = GET_CODE (x);
- rtx new, temp;
+ rtx temp;
char *fmt;
int i, j;
@@ -6304,7 +6301,6 @@ make_field_assignment (x)
{
rtx dest = SET_DEST (x);
rtx src = SET_SRC (x);
- rtx ourdest;
rtx assign;
HOST_WIDE_INT c1;
int pos, len;
@@ -6545,8 +6541,6 @@ simplify_and_const_int (x, mode, varop, constop)
rtx varop;
unsigned HOST_WIDE_INT constop;
{
- register enum machine_mode tmode;
- register rtx temp;
unsigned HOST_WIDE_INT nonzero;
int i;
@@ -7692,7 +7686,6 @@ simplify_shift_const (x, code, result_mode, varop, count)
int first_count = INTVAL (XEXP (varop, 1));
unsigned HOST_WIDE_INT mask;
rtx mask_rtx;
- rtx inner;
if (first_code == LSHIFT)
first_code = ASHIFT;