GCC build failed for 2 targets with your patch on 2002-05-27T07:48:24Z.

Neil Booth neil@daikokuya.demon.co.uk
Mon May 27 10:39:00 GMT 2002


GCC regression checker wrote:-

> With your recent patch, GCC does not compile on:
>  powerpc-eabisim mips-elf
> Attached is build output for those targets.
> 
> The build failures are new.
> 
> There were also 1 new regression test failures, and 0
> failures that existed before and after that patch; 0 failures
> have been fixed.
> 
> The new failures are:
> native gcc.sum gcc.c-torture/execute/20000402-1.c
> 
> For more information, see <http://people.redhat.com/geoffk/gcc-regression/>.

Until we decide what we want to do with target precision, I'm
applying this patch, which should solve the above issues.

Neil.

	* c-common.c (c_common_init): Use intmax_t for now.

Index: c-common.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-common.c,v
retrieving revision 1.333
diff -u -p -r1.333 c-common.c
--- c-common.c	27 May 2002 05:50:58 -0000	1.333
+++ c-common.c	27 May 2002 17:17:22 -0000
@@ -4488,7 +4488,7 @@ c_common_init (filename)
 
   /* Set up preprocessor arithmetic.  Must be done after call to
      c_common_nodes_and_builtins for wchar_type_node to be good.  */
-  if (flag_isoc99)
+  if (flag_isoc99 || 1)
     options->precision = TYPE_PRECISION (intmax_type_node);
   else
     options->precision = TYPE_PRECISION (long_integer_type_node);



More information about the Gcc-patches mailing list