This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commited] Fix g++.dg/opt/unroll1.C on 64-bit targets


Hi,

Fixed thusly on mainline and 3.3 branch.


2003-09-29  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.


-- 
Eric Botcazou
Index: testsuite/g++.dg/opt/unroll1.C
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/testsuite/g++.dg/opt/unroll1.C,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 unroll1.C
--- testsuite/g++.dg/opt/unroll1.C      27 Sep 2003 17:23:23 -0000      1.1.2.1
+++ testsuite/g++.dg/opt/unroll1.C      29 Sep 2003 06:04:43 -0000
@@ -9,7 +9,9 @@
 // { dg-do run }
 // { dg-options "-O2 -fno-exceptions -funroll-loops" }

-inline void* operator new(unsigned int, void* __p) throw() { return __p; }
+typedef __SIZE_TYPE__ size_t;
+
+inline void* operator new(size_t, void* __p) throw() { return __p; }
 inline void operator delete (void*, void*) throw() { };

 class Loc;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]