The patch changes the test to exclude solaris for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80481
The first patch solved the problem for solaris too but solaris gcc still generates vmovaps in some different part of the code (unrelated to the problem) where linux gcc does not.
Committed as rev. 256761.
Index: testsuite/ChangeLog =================================================================== --- testsuite/ChangeLog (revision 256760) +++ testsuite/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2018-01-16 Vladimir Makarov <[email protected]> + + PR rtl-optimization/80481 + * g++.dg/pr80481.C: Exclude solaris. + 2018-01-16 Eric Botcazou <[email protected]> * c-c++-common/patchable_function_entry-decl.c: Use 3 NOPs on Visium. Index: testsuite/g++.dg/pr80481.C =================================================================== --- testsuite/g++.dg/pr80481.C (revision 256760) +++ testsuite/g++.dg/pr80481.C (working copy) @@ -1,4 +1,4 @@ -// { dg-do compile { target i?86-*-* x86_64-*-* } } +// { dg-do compile { target { i?86-*-* x86_64-*-* } && { ! *-*-solaris* } } } // { dg-options "-Ofast -funroll-loops -fopenmp -march=knl" } // { dg-final { scan-assembler-not "vmovaps" } }
