From d31ac41c01b3a07479e5c0dd2b007450a03d92e0 Mon Sep 17 00:00:00 2001 From: Pat Haugen Date: Wed, 25 Feb 2015 17:35:07 +0000 Subject: [PATCH] direct-move.h: Include string.h/stdlib.h. * gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h. * gcc.target/powerpc/pack01.c: Include string.h. From-SVN: r220984 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/powerpc/direct-move.h | 2 ++ gcc/testsuite/gcc.target/powerpc/pack01.c | 1 + 3 files changed, 8 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 199b967c07c..28db896e243 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-02-25 Pat Haugen + + * gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h. + * gcc.target/powerpc/pack01.c: Include string.h. + 2015-02-25 Ilya Enkovich PR target/65167 diff --git a/gcc/testsuite/gcc.target/powerpc/direct-move.h b/gcc/testsuite/gcc.target/powerpc/direct-move.h index 6a5b7ba1806..e29f10f5cd5 100644 --- a/gcc/testsuite/gcc.target/powerpc/direct-move.h +++ b/gcc/testsuite/gcc.target/powerpc/direct-move.h @@ -1,6 +1,8 @@ /* Test functions for direct move support. */ #include +#include +#include extern void abort (void); #ifndef VSX_REG_ATTR diff --git a/gcc/testsuite/gcc.target/powerpc/pack01.c b/gcc/testsuite/gcc.target/powerpc/pack01.c index 8c9e4526959..d0d9a7e9e80 100644 --- a/gcc/testsuite/gcc.target/powerpc/pack01.c +++ b/gcc/testsuite/gcc.target/powerpc/pack01.c @@ -8,6 +8,7 @@ #include #include #include +#include #ifdef DEBUG #include -- 2.30.2