* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53911 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 8 additions, 0 deletionsgcc/ChangeLog
- gcc/c-common.c 4 additions, 0 deletionsgcc/c-common.c
- gcc/cppexp.c 0 additions, 1 deletiongcc/cppexp.c
- gcc/cpphash.h 1 addition, 0 deletionsgcc/cpphash.h
- gcc/cppinit.c 11 additions, 7 deletionsgcc/cppinit.c
- gcc/testsuite/ChangeLog 5 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/cpp/arith-2.c 447 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/arith-2.c
- gcc/testsuite/gcc.dg/cpp/arith-3.c 447 additions, 0 deletionsgcc/testsuite/gcc.dg/cpp/arith-3.c
Loading
Please register or sign in to comment