c-common.c (c_common_init): Set CPP arithmetic precision.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Mon, 27 May 2002 05:51:14 +0000 (05:51 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Mon, 27 May 2002 05:51:14 +0000 (05:51 +0000)
commitc9220e3a83aecc4d5fa5ecfad4d203f086e0c061
tree2f52ca5c8e31847edc88df70f877c0e92544df2b
parent1457a0b52ae505202bd1f341e74e039e0f4a4602
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
gcc/ChangeLog
gcc/c-common.c
gcc/cppexp.c
gcc/cpphash.h
gcc/cppinit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/arith-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/cpp/arith-3.c [new file with mode: 0644]