[PATCH] Fix recent fp-int-convert-float128-timode.c failures

Joseph S. Myers joseph@codesourcery.com
Wed Nov 30 17:01:00 GMT 2005


On Wed, 30 Nov 2005, Manfred Hollstein wrote:

> On Wed, 30 Nov 2005, 16:26:47 +0100, Manfred Hollstein wrote:
> > Hi there,
> > 
> > recent test results show failures similar to the following:
> > 
> >   ERROR: gcc.dg/torture/fp-int-convert-float128-timode.c  -O0 : syntax error in target selector "target ia64-*-* && lp64" for " dg-xfail-if 5 "" { ia64-*-* && lp64 } { "*" } { "" } "
> > 
> > I'm currently testing the attached patch as a fix. If that succeeds, I'll
> > be checking it in under the obvious-fix rule.
> 
> Hmm, running "make check" still produces the same syntax errors; I'm not
> sure at all, if "dg-xfail-if" is capable of combining target patterns
> with possibly passed flags. Josef, as you put that patch in which
> resulted in these syntax errors, are you sure about it?

The patch was based on the documentation of target selectors, which 
doesn't use a formal syntax so it isn't clear exactly when how many levels 
of braces are needed, but one possibility is to put in an extra layer of 
braces, i.e. { dg-xfail-if "" { { ia64-*-* && lp64 } } { "*" } { "" } }.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    joseph@codesourcery.com (CodeSourcery mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)



More information about the Gcc-patches mailing list