From: ro 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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7364595f5753f5917f90fb6c6c9a56aa947854a0;p=thirdparty%2Fgcc.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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216578 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe0c757c4bf5..688069343900 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 7358e43e384d..94921e1ef455 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 538e0abb9750..bcaf84e09fba 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)))