This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: testsuite change to add new effective keyword (cxa_atexit)
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 1 Jun 2006 16:03:18 -0700
- Subject: Re: Patch: testsuite change to add new effective keyword (cxa_atexit)
- References: <200606012201.PAA24859@hpsje.cup.hp.com>
On Thu, Jun 01, 2006 at 03:01:11PM -0700, Steve Ellcey wrote:
> A while back I brought the check_cxa_atexit_available and
> dg-require-cxa-atexit tests over from the libstdc++-v3 subdirectory.
> I was going to use dg-require-cxa-atexit to not run some C++ tests on
> machines that don't have __cxa_atexit but I got a request to XFAIL them
> rather than not run them. To do this I would like to create a
> cxa_atexit effective keyword (by calling the existing
> check_cxa_atexit_available routine) and use this to XFAIL tests by
> using:
>
> // { dg-do run { xfail { ! { cxa_atexit } } } }
You can use "{ ! cxa_atexit }" instead of "{ ! { cxa_atexit } }".
> in the actual tests.
>
> I will send the test changes seperately, this patch is just for the
> testsuite infrastructure change needed to implement this test.
>
> Tested on IA64 HP-UX and Linux.
> Ok to checkin?
Yes.
Janis