dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple dg-do do not work.


From: Dominik Vogt
Subject: Re: Multiple dg-do do not work.
Date: Wed, 9 Mar 2016 11:47:24 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Mar 09, 2016 at 11:18:28AM +1100, Ben Elliston wrote:
> On Tue, Mar 08, 2016 at 02:29:10PM +0100, Dominik Vogt wrote:
> 
> > However, multiple dg-do don't seem to work:
> > 
> >   dg-do run { condition }
> >   dg-do assemble { ! condition }
> 
> There are plenty of examples of this in the testsuite. You may wish to
> investigate further:
> 
>   $ grep -r dg-do . | awk -F: '{print $1}' | uniq -d
> 
> For example, the top of gcc.target/powerpc/altivec-3.c says:
> 
>   /* { dg-do run { target { powerpc*-*-* && vmx_hw } } } */
>   /* { dg-do compile { target { powerpc*-*-* && { ! vmx_hw } } } } */
> 
> So compile awyas on powerpc-*-*, but only run if the taget has the
> right hardware.  It should certainly work.

But this does not:

  /* { dg-do run { target { z10_instructions } } } */
  /* { dg-do assemble { target { ! z10_instructions } } } */

Is there something wrong with the syntax?

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]