]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
x86: Limit PR 35513 tests to Linux
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 1 Mar 2022 15:39:33 +0000 (07:39 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 1 Mar 2022 15:45:00 +0000 (07:45 -0800)
Limit PR 35513 tests to Linux since they fail on 32-bit Solaris/x86 with
Solaris linker.

PR testsuite/104725
* g++.target/i386/pr35513-1.C: Limit to Linux.
* g++.target/i386/pr35513-2.C: Likewise.

gcc/testsuite/g++.target/i386/pr35513-1.C
gcc/testsuite/g++.target/i386/pr35513-2.C

index daa615662c5614d6b6152dc28d1cc685ad96b841..82e63277fd21ce0a0697a205d4ee16aa85cae15e 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run { target property_1_needed } }
+// { dg-do run { target { *-*-linux* && property_1_needed } } }
 // { dg-options "-O2 -mno-direct-extern-access" }
 
 #include <iostream>
index ecccdaeb6664a70576800c80b512407059f2c5a6..95782b10cf3cd0bc2429e252636345391f67e5fb 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run { target property_1_needed } }
+// { dg-do run { target { *-*-linux* && property_1_needed } } }
 // { dg-options "-O2 -mno-direct-extern-access" }
 
 class Foo