OSDN Git Service

2005-07-23 Oyvind Harboe <oyvind.harboe@zylin.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jul 2005 04:49:57 +0000 (04:49 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jul 2005 04:49:57 +0000 (04:49 +0000)
        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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102306 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.mike/p3060d.C
gcc/testsuite/gcc.dg/20001117-1.c

index b9a146f..82e606d 100644 (file)
@@ -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.
 2005-07-22  David Edelsohn  <edelsohn@gnu.org>
 
        * gfortran.dg/comma_format_extension_3.f: Fix typo.
index 26026c3..11ac0da 100644 (file)
@@ -7,7 +7,7 @@ extern "C" int printf(const char *, ...);
 
 class Object;
 
 
 class Object;
 
-typedef void (Object::*VoidObjMemberFunc)(Object *, ...);
+typedef void (Object::*VoidObjMemberFunc)(Object *tracker, void *ap);
 
 class Object {
 public:
 
 class Object {
 public:
index 8eb7f58..baf0691 100644 (file)
@@ -24,5 +24,5 @@ int main ()
   exit (0);
 }
 
   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) { }