Fix PR 26086

Jakub Jelinek jakub@redhat.com
Sun Feb 5 10:05:00 GMT 2006


On Fri, Feb 03, 2006 at 01:22:50PM -0500, Diego Novillo wrote:
> I was too careless with the test case for PR 25990.  This patch
> replaces it with its pre-processed version to avoid including
> header files.

> 	* gcc.dg/gomp/pr25990.c: Replace with pre-processed version.

This breaks the test on 64-bit arches.  Fixed thusly, committed as obvious.

2006-02-05  Jakub Jelinek  <jakub@redhat.com>

	* gcc.dg/gomp/pr25990.c: Use __SIZE_TYPE__ instead of unsigned int
	in size_t typedef.

--- gcc/testsuite/gcc.dg/gomp/pr25990.c	(revision 110608)
+++ gcc/testsuite/gcc.dg/gomp/pr25990.c	(working copy)
@@ -1,7 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-fopenmp -O2 -std=c99" } */
 
-typedef unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
 
 typedef struct {
   int _flags;

	Jakub



More information about the Gcc-patches mailing list