aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-05-27 05:51:14 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-05-27 05:51:14 +0000
commitc9220e3a83aecc4d5fa5ecfad4d203f086e0c061 (patch)
tree2f52ca5c8e31847edc88df70f877c0e92544df2b /gcc/cpphash.h
parent1457a0b52ae505202bd1f341e74e039e0f4a4602 (diff)
downloadgcc-c9220e3a83aecc4d5fa5ecfad4d203f086e0c061.zip
gcc-c9220e3a83aecc4d5fa5ecfad4d203f086e0c061.tar.gz
gcc-c9220e3a83aecc4d5fa5ecfad4d203f086e0c061.tar.bz2
c-common.c (c_common_init): Set CPP arithmetic precision.
* c-common.c (c_common_init): Set CPP arithmetic precision. * cppexp.c (cpp_num_part): Move typedef ... * cpphash.h: ...here; make unsigned HOST_WIDE_INT. * cppinit.c (cpp_create_reader): Default to host long arithmetic. (sanity_checks): Update. testsuite: * gcc.dg/cpp/arith-2.c, gcc.dg/cpp/arith-3.c: New tests. * gcc.dg/cpp/if-3.c: Remove. From-SVN: r53911
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index a059e2b..af85cc1 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -29,6 +29,7 @@ struct directive; /* Deliberately incomplete. */
struct pending_option;
struct op;
+typedef unsigned HOST_WIDE_INT cpp_num_part;
typedef unsigned char uchar;
#define U (const uchar *) /* Intended use: U"string" */