This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: Run init tests only when __cxa_atexit is supported.
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: pinskia at physics dot uc dot edu
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 15 May 2006 15:59:43 -0700 (PDT)
- Subject: Re: Patch: Run init tests only when __cxa_atexit is supported.
> > The 3 tests included here will only pass on systems that have an
> > implementation of __cxa_atexit. This change is to use the
> > dg-require-cxa-atexit check that I brought over from the libstdc++
> > testsuite to check for __cxa_atexit and only run the tests on systems
> > that have __cxa_atexit.
> >
> > Ok to checkin?
>
> What about just having them xfail when __cxa_atexit does not exist
> as this is still a bug but it is hard to fix without __cxa_atexit?
>
> Thanks,
> Andrew Pinski
I could do that, I was following the example of libstdc++-v3. Tests
there are not xfailed, they are just not run (unsupported).
Steve Ellcey
sje@cup.hp.com