This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: More g++ EH failures for i586
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: gcc at gcc dot gnu dot org
- Cc: hjl at lucon dot org
- Date: Thu, 21 Feb 2002 17:59:31 +1100 (EST)
- Subject: RE: More g++ EH failures for i586
> From: "H . J . Lu" <hjl at lucon dot org>
> To: gcc at gcc dot gnu dot org
> Date: Wed, 20 Feb 2002 15:57:36 -0800
> Subject: More g++ EH failures for i586
>
>
--------------------------------------------------------------------------------
>
> I saw more g++ EH failures for i586:
>
> FAIL: g++.dg/eh/registers1.C execution test
> FAIL: g++.abi/cxa_vec.C Execution test
> FAIL: g++.eh/badalloc1.C Execution test
> FAIL: g++.eh/fntry1.C Execution test
> FAIL: g++.eh/rethrow1.C Execution test
> FAIL: g++.eh/rethrow2.C Execution test
> FAIL: g++.eh/rethrow3.C Execution test
> FAIL: g++.eh/rethrow6.C Execution test
> FAIL: g++.eh/spec2.C Execution test
> FAIL: g++.mike/eh23.C Execution test
> FAIL: g++.mike/eh33.C Execution test
> FAIL: g++.mike/eh39.C Execution test
> FAIL: g++.mike/eh40.C Execution test
> FAIL: g++.mike/eh50.C Execution test
> FAIL: g++.mike/eh51.C Execution test
>
> than i686. See
>
> http://gcc.gnu.org/ml/gcc-testresults/2002-02/msg00456.html
> http://gcc.gnu.org/ml/gcc-testresults/2002-02/msg00455.html
> It is from the same gcc source. Has anyone seen this?
Yes, I get same failures on i586-pc-mingw32. Until I do this:
--- eh_catch.cc.orig Mon Nov 19 09:51:00 2001
+++ eh_catch.cc Wed Feb 20 11:33:39 2002
@@ -69,7 +69,7 @@ __cxa_begin_catch (void *exc_obj_in)
extern "C" void
__cxa_end_catch ()
{
- __cxa_eh_globals *globals = __cxa_get_globals_fast ();
+ __cxa_eh_globals * volatile globals = __cxa_get_globals_fast ();
__cxa_exception *header = globals->caughtExceptions;
int count = header->handlerCount;
And then, they pass.
See: http://gcc.gnu.org/ml/gcc-bugs/2002-02/msg00548.html
Danny
http://movies.yahoo.com.au - Yahoo! Movies
- Vote for your nominees in our online Oscars pool.