forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate. * g++.dg/eh/forced2.C: Likewise. From-SVN: r65263
This commit is contained in:
parent
9942dbe230
commit
0a49eb31b2
|
@ -1,3 +1,8 @@
|
|||
2003-04-04 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
|
||||
* g++.dg/eh/forced2.C: Likewise.
|
||||
|
||||
2003-04-03 Mike Stump <mrs@apple.com>
|
||||
|
||||
* lib/scanasm.exp (scan-assembler): Add xfail processing for
|
||||
|
|
|
@ -31,7 +31,11 @@ static void force_unwind ()
|
|||
exc->exception_class = 0;
|
||||
exc->exception_cleanup = 0;
|
||||
|
||||
#ifndef __USING_SJLJ_EXCEPTIONS__
|
||||
_Unwind_ForcedUnwind (exc, force_unwind_stop, 0);
|
||||
#else
|
||||
_Unwind_SjLj_ForcedUnwind (exc, force_unwind_stop, 0);
|
||||
#endif
|
||||
|
||||
abort ();
|
||||
}
|
||||
|
|
|
@ -35,7 +35,11 @@ force_unwind () throw()
|
|||
exc->exception_class = 0;
|
||||
exc->exception_cleanup = 0;
|
||||
|
||||
#ifndef __USING_SJLJ_EXCEPTIONS__
|
||||
_Unwind_ForcedUnwind (exc, force_unwind_stop, 0);
|
||||
#else
|
||||
_Unwind_SjLj_ForcedUnwind (exc, force_unwind_stop, 0);
|
||||
#endif
|
||||
|
||||
abort ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue