On Tue, Dec 8, 2015 at 11:40 AM, Kirill Yukhin <kirill.yuk...@gmail.com> wrote: > Hello, > On 08 Dec 09:47, Andreas Schwab wrote: >> FAIL: gfortran.dg/pr68627.f -O (test for excess errors) >> Excess errors: >> gfortran: error: unrecognized command line option '-mavx512f' > Thanks for pointing. > > I've checked in this as obvious: > > gcc/testsuite: > * gfortran.dg/pr68627.f: Limit target x86. > > diff --git a/gcc/testsuite/gfortran.dg/pr68627.f > b/gcc/testsuite/gfortran.dg/pr68627.f > index 32ff4a7..54575d7 100644 > --- a/gcc/testsuite/gfortran.dg/pr68627.f > +++ b/gcc/testsuite/gfortran.dg/pr68627.f > @@ -1,4 +1,4 @@ > -! { dg-do compile { target lp64 } } > +! { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } }
Actually, you need { ! { ia32 } } here, since lp64 filters out x32 in addition to ia32. Please note that since x32 is x86_64 target, it implies 16 xmm registers. Uros.