aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.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/rtl.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/rtl.c')
-rw-r--r--gcc/rtl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 1136874..a6f53d4 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -765,7 +765,11 @@ read_rtx (infile)
#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT
tmp_wide = atoi (tmp_char);
#else
+#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
tmp_wide = atol (tmp_char);
+#else
+ tmp_wide = atoq (tmp_char);
+#endif
#endif
XWINT (return_rtx, i) = tmp_wide;
break;