reduction-3.c: Use stdlib.h.

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

From-SVN: r204977
This commit is contained in:
Dominique d'Humieres 2013-11-18 19:44:49 +01:00 committed by Jeff Law
parent 1d189846eb
commit 30d0460982
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-11-18 Dominique d'Humieres <dominiq@lps.ens.fr>
* c-c++-common/cilk-plus/PS/reduction-3.c: Use stdlib.h.
Remove spurious FIXME.
2013-11-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* c-c++-common/cilk-plus/PS/body.c: Add fopenmp effective target check.

View File

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