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: Run init tests only when __cxa_atexit is supported.


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


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