Patch: Run init tests only when __cxa_atexit is supported.
Mark Mitchell
mark@codesourcery.com
Tue May 16 00:47:00 GMT 2006
Steve Ellcey wrote:
> I can xfail them with:
>
> // { dg-do run { xfail { ! { dg-require-cxa-atexit } } } }
>
> The only problem with this is that it doesn't allow me to paper over the
> other problem with init18.C, namely that it calls _Exit.
We have lots of other tests that declare -- and then use -- _exit. So,
I would just switch that test to use _exit. That change is
pre-approved, so long as you copy the xfail list from
g++.old-deja/g++.pt/static11.C, as the problem described there will
presumably apply to init18.C as well.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list