Re: [PATCH v2] Run tests only if the machine supports the instruction set.

2016-12-20 Thread Jakub Jelinek
On Tue, Dec 20, 2016 at 11:22:47AM +0100, Dominik Vogt wrote: > On Mon, Dec 19, 2016 at 06:00:21PM +0100, Jakub Jelinek wrote: > > On Mon, Dec 19, 2016 at 05:50:40PM +0100, Dominik Vogt wrote: > > > * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define > > > __S390_ARCH_LEVEL__. > > >

Re: [PATCH v2] Run tests only if the machine supports the instruction set.

2016-12-20 Thread Dominik Vogt
On Mon, Dec 19, 2016 at 06:00:21PM +0100, Jakub Jelinek wrote: > On Mon, Dec 19, 2016 at 05:50:40PM +0100, Dominik Vogt wrote: > > * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define > > __S390_ARCH_LEVEL__. > > gcc/testsuite/ChangeLog-setmem > > > > * gcc.target/s390/md/se

Re: [PATCH v2] Run tests only if the machine supports the instruction set.

2016-12-19 Thread Jakub Jelinek
On Mon, Dec 19, 2016 at 05:50:40PM +0100, Dominik Vogt wrote: > * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define > __S390_ARCH_LEVEL__. > gcc/testsuite/ChangeLog-setmem > > * gcc.target/s390/md/setmem_long-1.c: Use "runnable". > * gcc.target/s390/md/rXsbg_mod

Re: [PATCH v2] Run tests only if the machine supports the instruction set.

2016-12-19 Thread Dominik Vogt
On Mon, Dec 19, 2016 at 03:28:06PM +0100, Dominik Vogt wrote: > The attached patch is specific to S/390 but contains a small > common code change in gcc-dg.exp. It fixes the notorious problem > of md tests running on an S/390 machine that does not support the > z13 instruction set. > > Bootstrapp