From 282d3a81fae765d860777a4ce65e42ea75b4fe47 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 23 Oct 2014 09:12:47 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c | 2 +- gcc/testsuite/gcc.dg/ipa/ipa-icf-28.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe0c757..6880693 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. * gcc.target/sparc/mnofpu.c (e1e_rphy): Declare. * gcc.target/sparc/sparc-ret.c (toto): Declare. diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-21.c index 7358e43..94921e1 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 538e0ab..bcaf84e 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))) -- 2.7.4