Hi!

The testcase uses SSE and SSE2 intrinsics, so fails on i686-linux
if -msse2 isn't enabled by default.  Fixed by adding -msse2 to
dg-options.

Bootstrapped/regtested on x86_64-linux and i686-linux, committed to
trunk as obvious.

2022-01-05  Jakub Jelinek  <ja...@redhat.com>

        PR target/103895
        * gcc.target/i386/pr103895.c: Add -msse2 to dg-options.

--- gcc/testsuite/gcc.target/i386/pr103895.c.jj 2022-01-04 23:11:22.788586688 
+0100
+++ gcc/testsuite/gcc.target/i386/pr103895.c    2022-01-05 01:30:33.926589366 
+0100
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-Og -ffloat-store" } */
+/* { dg-options "-Og -ffloat-store -msse2" } */
 
 #include <emmintrin.h>
 typedef float vFloat __attribute__((__vector_size__(16)));

        Jakub

Reply via email to