diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-28 23:25:15 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-28 23:25:15 +0000 |
commit | 13a0a8d8f5def221a9b114eeb40e18d2cca95816 (patch) | |
tree | 46a460f21ef64b7e21c3feb74a130dff1751d28f /gcc/genpeep.c | |
parent | 0fe8dc76c3894ae4b573d5085b9f720f31c7f938 (diff) | |
download | gcc-13a0a8d8f5def221a9b114eeb40e18d2cca95816.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17544 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r-- | gcc/genpeep.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c index c82c32a1d1b..f8159c82cfe 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') { |