From: Rainer Orth Date: Thu, 23 Oct 2014 09:12:47 +0000 (+0000) Subject: Fix gcc.dg/ipa/ipa-icf-2[18].c on Solaris X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=282d3a81fae765d860777a4ce65e42ea75b4fe47;p=gcc.git Fix gcc.dg/ipa/ipa-icf-2[18].c on Solaris * gcc.dg/ipa/ipa-icf-21.c: Restrict to i?86-*-* x86_64-*-*. * gcc.dg/ipa/ipa-icf-28.c: Require init_priority. From-SVN: r216578 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe0c757c4bf..68806934390 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-10-23 Rainer Orth + + * gcc.dg/ipa/ipa-icf-21.c: Restrict to i?86-*-* x86_64-*-*. + * gcc.dg/ipa/ipa-icf-28.c: Require init_priority. + 2014-10-23 Rainer Orth * gcc.target/sparc/20001013-1.c (main): Declare int return. diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c index 7358e43e384..94921e1ef45 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -fdump-ipa-icf" } */ #include diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-28.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-28.c index 538e0abb975..bcaf84e09fb 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-28.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-28.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target init_priority } } */ /* { dg-options "-O2 -fdump-ipa-icf-details -fno-inline" } */ __attribute__ ((noinline, constructor(200)))