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 _______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu