]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Testsuite, i386: Fix test by passing -march
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 30 Oct 2023 11:50:01 +0000 (12:50 +0100)
committerFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 30 Oct 2023 11:50:01 +0000 (12:50 +0100)
The test currently fails on Darwin, where the default arch is core2.

gcc/testsuite/ChangeLog:

PR target/112287
* gcc.target/i386/pr111698.c: Pass -march=sandybridge.

gcc/testsuite/gcc.target/i386/pr111698.c

index 2da6be531a2ee50685afe192dd2c3c8d227d5547..037000716f146fc28a5df6b06475a264967c506f 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/111698 */
-/* { dg-options "-O2 -masm=att" } */
+/* { dg-options "-O2 -masm=att -march=sandybridge" } */
 /* { dg-final { scan-assembler-not "testl" } }  */
 
 int m;