re PR testsuite/21073 (Incorrect declaration of member variable in p3060d.C testcase)
authorOyvind Harboe <oyvind.harboe@zylin.com>
Sat, 23 Jul 2005 04:49:57 +0000 (04:49 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 23 Jul 2005 04:49:57 +0000 (21:49 -0700)
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

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

index b9a146faa960b1396fe4c2b882edcecbde4b82d2..82e606d2740c980a957162d2f8ffc09f0d531789 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.
index 26026c3da880ac7420346a235adbf4eb067bcd2a..11ac0daa6bc13daacf748654cc7aaf32658e52a9 100644 (file)
@@ -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:
index 8eb7f58b6bfef5c649fffd430d1d5d913c8705ca..baf0691931770fe68314b96d6406a7eeeaf7a117 100644 (file)
@@ -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) { }