summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-03-06 13:30:23 -0800
committerYamaArashi <shadow962@live.com>2016-03-06 13:31:31 -0800
commite91bc8b5058f55174ea1d7e967e4e9d38fd29cae (patch)
treebd02014c3d4f04ecdb1ff984bd4db82db403880c /gcc/rtl.c
parent1f01ff809a107816317c4ac8a7eff1cbd3700370 (diff)
get rid of HOST_BITS_PER_LONG
Diffstat (limited to 'gcc/rtl.c')
-rwxr-xr-xgcc/rtl.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index e23e6ae..f172a2b 100755
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -577,43 +577,6 @@ read_name (str, infile)
*p = 0;
}
-
-/* Provide a version of a function to read a long long if the system does
- not provide one. */
-#if HOST_BITS_PER_WIDE_INT > HOST_BITS_PER_LONG && !defined(HAVE_ATOLL) && !defined(HAVE_ATOQ)
-HOST_WIDE_INT
-atoll(p)
- const char *p;
-{
- int neg = 0;
- HOST_WIDE_INT tmp_wide;
-
- while (ISSPACE(*p))
- p++;
- if (*p == '-')
- neg = 1, p++;
- else if (*p == '+')
- p++;
-
- tmp_wide = 0;
- while (ISDIGIT(*p))
- {
- HOST_WIDE_INT new_wide = tmp_wide*10 + (*p - '0');
- if (new_wide < tmp_wide)
- {
- /* Return INT_MAX equiv on overflow. */
- tmp_wide = (~(HOST_WIDE_UINT)0) >> 1;
- break;
- }
- tmp_wide = new_wide;
- p++;
- }
-
- if (neg)
- tmp_wide = -tmp_wide;
- return tmp_wide;
-}
-#endif
/* Read an rtx in printed representation from INFILE
and return an actual rtx in core constructed accordingly.
@@ -818,25 +781,6 @@ read_rtx (infile)
break;
case 'w':
- read_name (tmp_char, 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
- /* Prefer atoll over atoq, since the former is in the ISO C9X draft.
- But prefer not to use our hand-rolled function above either. */
-#if defined(HAVE_ATOLL) || !defined(HAVE_ATOQ)
- tmp_wide = atoll (tmp_char);
-#else
- tmp_wide = atoq (tmp_char);
-#endif
-#endif
-#endif
- XWINT (return_rtx, i) = tmp_wide;
- break;
-
case 'i':
case 'n':
read_name (tmp_char, infile);