The test c-c++-common/cilk-plus/PS/reduction-3.c fails on *-apple-darwin* because it has no malloc.h header. Tested on x86_64-apple-darwin13. OK?
Note that although I have the FSF papers signed, I don't have write access. If approved, someone will have to commit the patch for me. Dominique 2013-11-18 Dominique d'Humieres <domi...@lps.ens.fr> PR testsuite/59160 * c-c++-common/cilk-plus/PS/reduction-3.c: Use stdlib.h. Remove spurious FIXME. --- ../_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-18 17:44:23.000000000 +0100 @@ -1,13 +1,11 @@ /* { dg-do run } */ /* { dg-options "-O3 -fcilkplus" } */ -/* FIXME: This test has been xfailed until reductions are fixed. */ - #define N 256 #if HAVE_IO #include <stdio.h> #endif -#include <malloc.h> +#include <stdlib.h> int reduction_simd (int *a)