x86: Limit PR 35513 tests to Linux
Commit Message
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 | 2 +-
gcc/testsuite/g++.target/i386/pr35513-2.C | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Comments
On 3/1/2022 8:44 AM, H.J. Lu via Gcc-patches wrote:
> 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.
OK
jeff
@@ -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>
@@ -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