[PATCH]: Don't XFAIL 21674.cc on darwin

Jack Howarth howarth@bromo.med.uc.edu
Sun Dec 14 20:49:00 GMT 2008


On Sun, Dec 14, 2008 at 09:11:44PM +0100, Paolo Bonzini wrote:
> 
> > Paolo,
> >    I haven't found any examples which show that xfail can be used in
> > combination with target? Are you sure that combination is valid? I think
> > we shouldn't avoid running this test on darwin since it does pass and would
> > check that the behvaior isn't regressed in some later darwin libc.
> 
> grep dg-xfail-if.
> 
> Paolo
Paolo,
    I think I have to be careful not to change the intended behavior though.
Currently it has...

// { dg-require-debug-mode "" }
// { dg-options "-O0 -D_GLIBCXX_DEBUG" }
// { dg-do run { xfail *-*-* } }

so that only the execution is expected to xfail. If I replace the line for
dg-do run with...

//  { dg-xfail-if "" { !"*-*-darwin*" } { "*" } { "" } } 

won't that cause compile as well as the execution tests to be xfail'd
on all other targets?
       Jack



More information about the Gcc-patches mailing list