From: Rainer Orth Date: Fri, 8 Dec 2017 13:03:54 +0000 (+0000) Subject: Disable hwcap on Solaris in g++.dg/opt/pr83252.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f29e04064c39dfdc23831e41328f5ba84195957;p=gcc.git Disable hwcap on Solaris in g++.dg/opt/pr83252.C * g++.dg/opt/pr83252.C: Add -mclear-hwcap on *-*-solaris*. From-SVN: r255511 --- 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