[committed] Fix two testcases on ppc-darwin
Andrew Pinski
pinskia@physics.uc.edu
Fri Oct 8 14:37:00 GMT 2004
Just some includes were missing. Committed as obvious.
Thanks,
Andrew Pinski
ChangeLog:
* gcc.dg/darwin-longdouble.c: Include stdlib.h and string.h.
* gcc.dg/darwin-abi-2.c: Include stdlib.h.
Patch:
Index: gcc.dg/darwin-longdouble.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/darwin-longdouble.c,v
retrieving revision 1.1
diff -u -p -r1.1 darwin-longdouble.c
--- gcc.dg/darwin-longdouble.c 31 Jul 2004 01:40:18 -0000 1.1
+++ gcc.dg/darwin-longdouble.c 8 Oct 2004 14:34:31 -0000
@@ -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];
Index: gcc.dg/darwin-abi-2.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/darwin-abi-2.c,v
retrieving revision 1.1
diff -u -p -r1.1 darwin-abi-2.c
--- gcc.dg/darwin-abi-2.c 7 Oct 2003 19:48:23 -0000 1.1
+++ gcc.dg/darwin-abi-2.c 8 Oct 2004 14:34:31 -0000
@@ -5,6 +5,7 @@
tests that the ABI is correct. */
#include <stdio.h>
+#include <stdlib.h>
#define vector __attribute__((vector_size(16)))
More information about the Gcc-patches
mailing list