aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOyvind Harboe <oyvind.harboe@zylin.com>2005-07-23 04:49:57 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-07-22 21:49:57 -0700
commit5887a1bb9c70faa8f917ea8f41600c61f462cfb8 (patch)
treed93086ee6518272937891f6671b79160ad6b42b3 /gcc
parent43aa51814cc5aa1ef51717261e753356103712c9 (diff)
downloadgcc-5887a1bb9c70faa8f917ea8f41600c61f462cfb8.zip
gcc-5887a1bb9c70faa8f917ea8f41600c61f462cfb8.tar.gz
gcc-5887a1bb9c70faa8f917ea8f41600c61f462cfb8.tar.bz2
re PR testsuite/21073 (Incorrect declaration of member variable in p3060d.C testcase)
2005-07-23 Oyvind Harboe <oyvind.harboe@zylin.com> PR testsuite/21073 * g++.old-deja/g++.mike/p3060d.C: Fix type of VoidObjMemberFunc. PR testsuite/20454 * gcc.dg/20001117-1.c: Fix type of __cyg_profile_func_enter and __cyg_profile_func_exit. From-SVN: r102306
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog9
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p3060d.C2
-rw-r--r--gcc/testsuite/gcc.dg/20001117-1.c4
3 files changed, 12 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b9a146f..82e606d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2005-07-23 Oyvind Harboe <oyvind.harboe@zylin.com>
+
+ PR testsuite/21073
+ * g++.old-deja/g++.mike/p3060d.C: Fix type of VoidObjMemberFunc.
+
+ PR testsuite/20454
+ * gcc.dg/20001117-1.c: Fix type of __cyg_profile_func_enter
+ and __cyg_profile_func_exit.
+
2005-07-22 David Edelsohn <edelsohn@gnu.org>
* gfortran.dg/comma_format_extension_3.f: Fix typo.
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p3060d.C b/gcc/testsuite/g++.old-deja/g++.mike/p3060d.C
index 26026c3..11ac0da 100644
--- a/gcc/testsuite/g++.old-deja/g++.mike/p3060d.C
+++ b/gcc/testsuite/g++.old-deja/g++.mike/p3060d.C
@@ -7,7 +7,7 @@ extern "C" int printf(const char *, ...);
class Object;
-typedef void (Object::*VoidObjMemberFunc)(Object *, ...);
+typedef void (Object::*VoidObjMemberFunc)(Object *tracker, void *ap);
class Object {
public:
diff --git a/gcc/testsuite/gcc.dg/20001117-1.c b/gcc/testsuite/gcc.dg/20001117-1.c
index 8eb7f58..baf0691 100644
--- a/gcc/testsuite/gcc.dg/20001117-1.c
+++ b/gcc/testsuite/gcc.dg/20001117-1.c
@@ -24,5 +24,5 @@ int main ()
exit (0);
}
-void __attribute__((no_instrument_function)) __cyg_profile_func_enter() { }
-void __attribute__((no_instrument_function)) __cyg_profile_func_exit() { }
+void __attribute__((no_instrument_function)) __cyg_profile_func_enter(void *this_fn, void *call_site) { }
+void __attribute__((no_instrument_function)) __cyg_profile_func_exit(void *this_fn, void *call_site) { }