aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 87d499f..79dc8a73 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-20 Joseph Myers <joseph@codesourcery.com>
+
+ * gcc.dg/tree-prof/val-prof-7.c: Declare bzero instead of
+ including <strings.h>.
+
2011-10-19 Jan Hubicka <jh@suse.cz>
* lib/lto.exp (lto_init): Test slib lto and no-liker-plugin path.
diff --git a/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c b/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
index 5f53263..6c64d07 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
@@ -1,7 +1,7 @@
/* { dg-options "-O2 -fdump-ipa-profile -mtune=core2" } */
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
-#include <strings.h>
+extern void bzero (void *, __SIZE_TYPE__);
int foo(int len)
{