http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59160
Bug ID: 59160
Summary: The test c-c++-common/cilk-plus/PS/reduction-3.c fails
on x86_64-apple-darwin1(0|3)*.
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
CC: aldyh at gcc dot gnu.org, iains at gcc dot gnu.org
Host: x86_64-apple-darwin1(0|3)*
Target: x86_64-apple-darwin1(0|3)*
Build: x86_64-apple-darwin1(0|3)*
The test c-c++-common/cilk-plus/PS/reduction-3.c (r204863) fails on
x86_64-apple-darwin1(0|3)* with the error:
/opt/gcc/_clean/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c:10:20:
fatal error: malloc.h: No such file or directory
It succeeds with the following patch
--- ../_clean/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c
2013-11-15 23:09:51.000000000 +0100
+++ gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c 2013-11-17
12:29:18.000000000 +0100
@@ -7,7 +7,8 @@
#if HAVE_IO
#include <stdio.h>
#endif
-#include <malloc.h>
+/* #include <malloc.h> */
+#include <stdlib.h>
int
reduction_simd (int *a)
Is the line
/* FIXME: This test has been xfailed until reductions are fixed. */
still relevant? I don't see any xfail in the source.