aboutsummaryrefslogtreecommitdiff
path: root/gcc/genpeep.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-01-28 16:25:15 -0700
committerJeff Law <law@gcc.gnu.org>1998-01-28 16:25:15 -0700
commit76d31c63736a0a5a0560fccf5d400c5a5b8a20b9 (patch)
tree46a460f21ef64b7e21c3feb74a130dff1751d28f /gcc/genpeep.c
parent1b7555bd4c57528074dd943eb93cad594ef914b2 (diff)
downloadgcc-76d31c63736a0a5a0560fccf5d400c5a5b8a20b9.zip
gcc-76d31c63736a0a5a0560fccf5d400c5a5b8a20b9.tar.gz
gcc-76d31c63736a0a5a0560fccf5d400c5a5b8a20b9.tar.bz2
rtl.c (read_rtx): Use atol/atoq based upon disposition of HOST_WIDE_INT.
* rtl.c (read_rtx): Use atol/atoq based upon disposition of HOST_WIDE_INT. * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC as needed. * genemit.c (gen_exp): Likewise. * genpeep.c (match_rtx): Likewise. * genrecog.c (write_tree_1): Likewise. * c-lex.c (yyprint): Use proper format string based upon disposition of HOST_BITS_PER_WIDE_INT. (yylex): Put casts in right place for args to build_int_2. * combine.c: Fix typos in Jan27 changes. From-SVN: r17544
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r--gcc/genpeep.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index c82c32a..f8159c8 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -325,13 +325,9 @@ match_rtx (x, path, fail_label)
printf (";\n");
}
-#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
- printf (" if (XWINT (x, %d) != %d) goto L%d;\n",
- i, XWINT (x, i), fail_label);
-#else
- printf (" if (XWINT (x, %d) != %ld) goto L%d;\n",
- i, XWINT (x, i), fail_label);
-#endif
+ printf (" if (XWINT (x, %d) != ", i);
+ printf (HOST_WIDE_INT_PRINT_DEC, XWINT (x, i));
+ printf (") goto L%d;\n", fail_label);
}
else if (fmt[i] == 's')
{