diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-08 14:37:40 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-10-08 07:37:40 -0700 |
commit | ea3c4ca872e8fe9e5efbc1b299ec4df34a8d4890 (patch) | |
tree | e9ec1c82cf2ee57cd9531aa79737d8a14f13d6d8 /gcc/testsuite | |
parent | 39ba2f92e1b7970615fd87e16bff32b100c07252 (diff) | |
download | gcc-ea3c4ca872e8fe9e5efbc1b299ec4df34a8d4890.zip gcc-ea3c4ca872e8fe9e5efbc1b299ec4df34a8d4890.tar.gz gcc-ea3c4ca872e8fe9e5efbc1b299ec4df34a8d4890.tar.bz2 |
darwin-longdouble.c: Include stdlib.h and string.h.
2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h.
* gcc.dg/darwin-abi-2.c: Include stdlib.h.
From-SVN: r88757
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/darwin-abi-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/darwin-longdouble.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 81dbc32..e83378b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> + + * gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h. + * gcc.dg/darwin-abi-2.c: Include stdlib.h. + 2004-10-08 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> * gcc.dg/ultrasp11.c: New test. diff --git a/gcc/testsuite/gcc.dg/darwin-abi-2.c b/gcc/testsuite/gcc.dg/darwin-abi-2.c index 81da83c..4764831 100644 --- a/gcc/testsuite/gcc.dg/darwin-abi-2.c +++ b/gcc/testsuite/gcc.dg/darwin-abi-2.c @@ -5,6 +5,7 @@ tests that the ABI is correct. */ #include <stdio.h> +#include <stdlib.h> #define vector __attribute__((vector_size(16))) diff --git a/gcc/testsuite/gcc.dg/darwin-longdouble.c b/gcc/testsuite/gcc.dg/darwin-longdouble.c index 54f090d..8e4259a 100644 --- a/gcc/testsuite/gcc.dg/darwin-longdouble.c +++ b/gcc/testsuite/gcc.dg/darwin-longdouble.c @@ -3,6 +3,8 @@ /* No options so 'long long' can be used. */ #include <stdio.h> +#include <stdlib.h> +#include <string.h> typedef unsigned long long uint64_t; typedef uint64_t ldbits[2]; |