]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix optimize_one.c FAIL on i686-linux
authorJakub Jelinek <jakub@redhat.com>
Mon, 2 Sep 2024 18:14:49 +0000 (20:14 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 2 Sep 2024 18:14:49 +0000 (20:14 +0200)
The test FAILs on i686-linux because -mfpmath=sse is used without
-msse2 being enabled.

2024-09-02  Jakub Jelinek  <jakub@redhat.com>

* gcc.target/i386/optimize_one.c: Add -msse2 to dg-options.

gcc/testsuite/gcc.target/i386/optimize_one.c

index 62728d3c5ba473681c3a9666b8226ac11189edad..3a682ed4028fdbcc68f8138dd8f7a9aba4e00f9e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mfpmath=sse" } */
+/* { dg-options "-O2 -mfpmath=sse -msse2" } */
 /* { dg-final { scan-assembler-times "comi" 1 } } */
 /* { dg-final { scan-assembler-times "set" 1 } } */