From 4f29e04064c39dfdc23831e41328f5ba84195957 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 8 Dec 2017 13:03:54 +0000 Subject: [PATCH] Disable hwcap on Solaris in g++.dg/opt/pr83252.C * g++.dg/opt/pr83252.C: Add -mclear-hwcap on *-*-solaris*. From-SVN: r255511 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/opt/pr83252.C | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7d03796f215..d9ce35fb233 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-12-08 Rainer Orth + + * g++.dg/opt/pr83252.C: Add -mclear-hwcap on *-*-solaris*. + 2017-12-08 Martin Jambor PR tree-optimization/83141 diff --git a/gcc/testsuite/g++.dg/opt/pr83252.C b/gcc/testsuite/g++.dg/opt/pr83252.C index 835b77fd18c..331eb45b565 100644 --- a/gcc/testsuite/g++.dg/opt/pr83252.C +++ b/gcc/testsuite/g++.dg/opt/pr83252.C @@ -2,6 +2,7 @@ // { dg-do run } // { dg-options "-O3" } // { dg-additional-options "-mbmi2 -mtune=intel" { target bmi2 } } +// { dg-additional-options "-mclear-hwcap" { target *-*-solaris* } } #if __SIZEOF_INT__ == 4 && __SIZEOF_LONG_LONG__ == 8 && __CHAR_BIT__ == 8 -- 2.30.2