From bbea402544b0c98388fc9922eab978ee8ae6f092 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sun, 7 Dec 2014 17:48:56 +0000 Subject: [PATCH] re PR testsuite/64038 (FAIL: gcc.dg/ipa/ipa-icf-5.c (test for excess errors)) PR testsuite/64038 * gcc.dg/ipa/ipa-icf-5.c: Require c99_runtime. Add c99_runtime options. * gcc.dg/ipa/ipa-icf-7.c: Likewise. From-SVN: r218467 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c | 3 ++- gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aecd0cb9d1f..6ee7360d10c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-12-07 John David Anglin + + PR testsuite/64038 + * gcc.dg/ipa/ipa-icf-5.c: Require c99_runtime. Add c99_runtime options. + * gcc.dg/ipa/ipa-icf-7.c: Likewise. + 2014-12-07 Oleg Endo * gcc.target/h8300/h8300.exp: Fix duplicated text. diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c index 45fddf589ac..849f72e2964 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-5.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-O2 -fdump-ipa-icf" } */ +/* { dg-add-options c99_runtime } */ #include diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c index ec7961dc177..70234137796 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-7.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ +/* { dg-do compile { target c99_runtime } } */ /* { dg-options "-O2 -fdump-ipa-icf" } */ +/* { dg-add-options c99_runtime } */ #include -- 2.30.2