Commit 5887a1bb by Oyvind Harboe Committed by Andrew Pinski

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
parent 43aa5181
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.
......
......@@ -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:
......
......@@ -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) { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment