aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-10-20 14:03:56 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-10-20 14:03:56 +0100
commit6611b62cc2c8286872b681808bb882addc996854 (patch)
tree44dfe964688faf84ac6a8c0c7020f9a240dc9444
parent61445bdc92b54c78e8f2b21e71d90ff37a12c8a2 (diff)
downloadgcc-6611b62cc2c8286872b681808bb882addc996854.zip
gcc-6611b62cc2c8286872b681808bb882addc996854.tar.gz
gcc-6611b62cc2c8286872b681808bb882addc996854.tar.bz2
val-prof-7.c: Declare bzero instead of including <strings.h>.
* gcc.dg/tree-prof/val-prof-7.c: Declare bzero instead of including <strings.h>. From-SVN: r180251
-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)
{