This is the mail archive of the gcc-patches@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: Patch: testsuite change to add new effective keyword (cxa_atexit)


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


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