aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-05-26 08:19:02 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-05-26 08:19:02 +0000
commitedf6ddf6775b07472f2dbaeb3b9511fd2ab0e902 (patch)
treee28b8ab33b2de7eaa12479bdb8dfb1291a7f26d0 /libcpp/include/cpplib.h
parent49f002b654154f65320b984ac91ebe07d3891da3 (diff)
downloadgcc-edf6ddf6775b07472f2dbaeb3b9511fd2ab0e902.zip
gcc-edf6ddf6775b07472f2dbaeb3b9511fd2ab0e902.tar.gz
gcc-edf6ddf6775b07472f2dbaeb3b9511fd2ab0e902.tar.bz2
configure.ac: Remove long long and __int64 type checks...
2014-05-26 Richard Biener <rguenther@suse.de> libcpp/ * configure.ac: Remove long long and __int64 type checks, add check for uint64_t and fail if that wasn't found. * include/cpplib.h (cpp_num_part): Use uint64_t. * config.in: Regenerate. * configure: Likewise. gcc/ * configure.ac: Drop __int64 type check. Insist that we found uint64_t and int64_t. * hwint.h (HOST_BITS_PER___INT64): Remove. (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case. (HOST_WIDE_INT_PRINT_*): Remove 32bit case. (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*. (HOST_WIDEST_FAST_INT): Remove __int64 case. * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t for dst_q_src_df_rms_cdt. * configure: Regenerate. * config.in: Likewise. From-SVN: r210928
Diffstat (limited to 'libcpp/include/cpplib.h')
-rw-r--r--libcpp/include/cpplib.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index 594c899..a83452b 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -820,23 +820,9 @@ extern int cpp_defined (cpp_reader *, const unsigned char *, int);
/* A preprocessing number. Code assumes that any unused high bits of
the double integer are set to zero. */
-/* Find a type with at least 64bit precision, mimicking hwint.h.
- This type has to be equal to unsigned HOST_WIDE_INT, see
+/* This type has to be equal to unsigned HOST_WIDE_INT, see
gcc/c-family/c-lex.c. */
-#if SIZEOF_LONG >= 8
-typedef unsigned long cpp_num_part;
-#else
-# if SIZEOF_LONG_LONG >= 8
-typedef unsigned long long cpp_num_part;
-# else
-# if SIZEOF___INT64 >= 8
-typedef unsigned __int64 cpp_num_part;
-# else
- #error "This line should be impossible to reach"
-# endif
-# endif
-#endif
-
+typedef uint64_t cpp_num_part;
typedef struct cpp_num cpp_num;
struct cpp_num
{