This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More g++ EH failures for i586


On Thu, Feb 21, 2002 at 05:59:31PM +1100, Danny Smith wrote:
> > 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

Mine died at the same place. But I think the bug is somewhere else
since it works for i686. The i586 build was on the same machine as
the i686 build. The only difference is

# configure i586-linux

vs.

# configure i686-linux


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]