aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-13 15:46:38 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-13 15:46:38 -0400
commit9a63e81decd44e0dbd794dc9dee22ee34302858a (patch)
treeb650c583edcd57c63f4c745b733f74f2272a9688
parentd938afd3a4f31c6bf04aa329b8ef1053349c5f61 (diff)
downloadgcc-9a63e81decd44e0dbd794dc9dee22ee34302858a.zip
gcc-9a63e81decd44e0dbd794dc9dee22ee34302858a.tar.gz
gcc-9a63e81decd44e0dbd794dc9dee22ee34302858a.tar.bz2
(clear_struct_flag): Add void return type defn.
(count_subs_rtx): Add int return type and add definition. (simplify_test_exp): Delete debugging junk. (do_nothing): Delete. From-SVN: r4128
-rw-r--r--gcc/genattrtab.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 13228bb..02df1af 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -394,6 +394,8 @@ static int increment_current_value PROTO((struct dimension *, int));
static rtx test_for_current_value PROTO((struct dimension *, int));
static rtx simplify_with_current_value PROTO((rtx, struct dimension *, int));
static rtx simplify_with_current_value_aux PROTO((rtx));
+static void clear_struct_flag PROTO((rtx));
+static int count_sub_rtxs PROTO((rtx, int));
static void remove_insn_ent PROTO((struct attr_value *, struct insn_ent *));
static void insert_insn_ent PROTO((struct attr_value *, struct insn_ent *));
static rtx insert_right_side PROTO((enum rtx_code, rtx, rtx, int, int));
@@ -2981,16 +2983,6 @@ simplify_test_exp (exp, insn_code, insn_index)
rtx newexp = exp;
char *spacer = (char *) obstack_finish (rtl_obstack);
- static rtx loser = 0;
- static int count = 0;
- static stopcount = 0;
-
- if (exp == loser)
- do_nothing ();
- count++;
- if (count == stopcount)
- do_nothing ();
-
/* Don't re-simplify something we already simplified. */
if (RTX_UNCHANGING_P (exp) || MEM_IN_STRUCT_P (exp))
return exp;
@@ -3261,9 +3253,6 @@ simplify_test_exp (exp, insn_code, insn_index)
return newexp;
}
-
-do_nothing ()
-{}
/* Optimize the attribute lists by seeing if we can determine conditional
values from the known values of other attributes. This will save subroutine
@@ -3833,6 +3822,7 @@ simplify_with_current_value_aux (exp)
/* Clear the MEM_IN_STRUCT_P flag in EXP and its subexpressions. */
+static void
clear_struct_flag (x)
rtx x;
{
@@ -3886,6 +3876,7 @@ clear_struct_flag (x)
/* Return the number of RTX objects making up the expression X.
But if we count more more than MAX objects, stop counting. */
+static int
count_sub_rtxs (x, max)
rtx x;
int max;