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
This commit is contained in:
Oyvind Harboe 2005-07-23 04:49:57 +00:00 committed by Andrew Pinski
parent 43aa51814c
commit 5887a1bb9c
3 changed files with 12 additions and 3 deletions

View 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.

View 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:

View 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) { }