Commit 630363b4 by Neil Booth Committed by Neil Booth

c-common.c (c_common_init): Always use intmax_t.

	* c-common.c (c_common_init): Always use intmax_t.
testsuite:
	* gcc.dg/cpp/arith-2.c: Remove.
	* gcc.dg/cpp/arith-3.c: Don't set std=c99.

From-SVN: r53936
parent d94cde01
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.c (c_common_init): Always use intmax_t.
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* c-common.c (c_common_init): Use intmax_t for now. * c-common.c (c_common_init): Use intmax_t for now.
2002-05-24 Andrew Haley <aph@redhat.com> 2002-05-24 Andrew Haley <aph@redhat.com>
......
...@@ -4488,10 +4488,7 @@ c_common_init (filename) ...@@ -4488,10 +4488,7 @@ c_common_init (filename)
/* Set up preprocessor arithmetic. Must be done after call to /* Set up preprocessor arithmetic. Must be done after call to
c_common_nodes_and_builtins for wchar_type_node to be good. */ c_common_nodes_and_builtins for wchar_type_node to be good. */
if (flag_isoc99 || 1) options->precision = TYPE_PRECISION (intmax_type_node);
options->precision = TYPE_PRECISION (intmax_type_node);
else
options->precision = TYPE_PRECISION (long_integer_type_node);
options->char_precision = TYPE_PRECISION (char_type_node); options->char_precision = TYPE_PRECISION (char_type_node);
options->int_precision = TYPE_PRECISION (integer_type_node); options->int_precision = TYPE_PRECISION (integer_type_node);
options->wchar_precision = TYPE_PRECISION (wchar_type_node); options->wchar_precision = TYPE_PRECISION (wchar_type_node);
......
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk> 2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/arith-2.c: Remove.
* gcc.dg/cpp/arith-3.c: Don't set std=c99.
2002-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.dg/cpp/arith-2.c, gcc.dg/cpp/arith-3.c: New tests. * gcc.dg/cpp/arith-2.c, gcc.dg/cpp/arith-3.c: New tests.
* gcc.dg/cpp/if-3.c: Remove. * gcc.dg/cpp/if-3.c: Remove.
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
Please keep changes to arith-2.c and arith-3.c in sync. */ Please keep changes to arith-2.c and arith-3.c in sync. */
/* { dg-do preprocess } */ /* { dg-do preprocess } */
/* { dg-options "-std=c99 -fno-show-column" } */ /* { dg-options "-fno-show-column" } */
#include <limits.h> #include <limits.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment