diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2003-09-29 08:14:59 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2003-09-29 06:14:59 +0000 |
commit | ea0738f2365dcda536b1ab0a61f400ec16b4bcf3 (patch) | |
tree | ed1149b9385dd1d024fe14e73aebec58ec00a1a7 | |
parent | e8cadb6970016f44541eb6fc5da8b70c32573dd3 (diff) | |
download | gcc-ea0738f2365dcda536b1ab0a61f400ec16b4bcf3.zip gcc-ea0738f2365dcda536b1ab0a61f400ec16b4bcf3.tar.gz gcc-ea0738f2365dcda536b1ab0a61f400ec16b4bcf3.tar.bz2 |
* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.
From-SVN: r71891
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/unroll1.C | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c6dca04..6224f1d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-09-29 Eric Botcazou <ebotcazou@libertysurf.fr> + + * g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__. + 2003-09-28 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> * g++.dg/template/friend19.C: Fix typo. diff --git a/gcc/testsuite/g++.dg/opt/unroll1.C b/gcc/testsuite/g++.dg/opt/unroll1.C index 6b2196d..fd07f88 100644 --- a/gcc/testsuite/g++.dg/opt/unroll1.C +++ b/gcc/testsuite/g++.dg/opt/unroll1.C @@ -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; |