diff mbox

pr59160

Message ID 20131118172357.3A4E6104@mailhost.lps.ens.fr
State New
Headers show

Commit Message

Dominique d'Humières Nov. 18, 2013, 5:23 p.m. UTC
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  <dominiq@lps.ens.fr>

	PR testsuite/59160
	* c-c++-common/cilk-plus/PS/reduction-3.c: Use stdlib.h.
	Remove spurious FIXME.

Comments

Jeff Law Nov. 18, 2013, 6:45 p.m. UTC | #1
On 11/18/13 10:23, Dominique Dhumieres wrote:
> 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  <dominiq@lps.ens.fr>
>
> 	PR testsuite/59160
> 	* c-c++-common/cilk-plus/PS/reduction-3.c: Use stdlib.h.
> 	Remove spurious FIXME.
Thanks.  Installed.

jeff
diff mbox

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-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)