This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix g++.dg/graphite/pr42681.C for 32bit targets
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 14 Jan 2010 06:47:43 -0800
- Subject: PATCH: Fix g++.dg/graphite/pr42681.C for 32bit targets
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
On Linux/ia32, I got
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/g++.dg/graphite/pr42681.C:4:52:
error: 'operator new' takes type 'size_t' ('unsigned int') as first
parameter^M
I checked in this patch to fix it.
H.J.
---
Index ChangeLog
===================================================================
--- ChangeLog (revision 155909)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2010-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ * g++.dg/graphite/pr42681.C (size_t): Use __SIZE_TYPE__.
+
2010-01-14 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42714
Index: g++.dg/graphite/pr42681.C
===================================================================
--- g++.dg/graphite/pr42681.C (revision 155909)
+++ g++.dg/graphite/pr42681.C (working copy)
@@ -1,6 +1,6 @@
/* { dg-options "-O1 -fgraphite-identity -fno-loop-block -fno-loop-interchange -fno-loop-strip-mine" } */
-typedef long unsigned int size_t;
+typedef __SIZE_TYPE__ size_t;
inline void* operator new(size_t, void* __p) throw() { return __p; }
struct A {