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]: Don't XFAIL 21674.cc on darwin


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


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