The attached change fixes the fails of gcc.dg/ipa/ipa-icf-5.c and
gcc.dg/ipa/ipa-icf-7.c
on hppa*-*-hpux*. Committed to trunk.
Dave
--
John David Anglin dave.ang...@bell.net
2014-12-07 John David Anglin <dang...@gcc.gnu.org>
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.
Index: gcc.dg/ipa/ipa-icf-5.c
===================================================================
--- gcc.dg/ipa/ipa-icf-5.c (revision 218435)
+++ gcc.dg/ipa/ipa-icf-5.c (working copy)
@@ -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 <complex.h>
Index: gcc.dg/ipa/ipa-icf-7.c
===================================================================
--- gcc.dg/ipa/ipa-icf-7.c (revision 218435)
+++ gcc.dg/ipa/ipa-icf-7.c (working copy)
@@ -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 <complex.h>