diff options
author | Dominique d'Humieres <dominiq@lps.ens.fr> | 2013-11-18 19:44:49 +0100 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-11-18 11:44:49 -0700 |
commit | 30d0460982f52318cf569435d76e2312fa712369 (patch) | |
tree | c39647c0599ac8a878f9f5d867e1823cae2f9121 /gcc | |
parent | 1d189846eb29d7d4f819a535f2651a9e412a4793 (diff) | |
download | gcc-30d0460982f52318cf569435d76e2312fa712369.zip gcc-30d0460982f52318cf569435d76e2312fa712369.tar.gz gcc-30d0460982f52318cf569435d76e2312fa712369.tar.bz2 |
reduction-3.c: Use stdlib.h.
* c-c++-common/cilk-plus/PS/reduction-3.c: Use stdlib.h.
Remove spurious FIXME.
From-SVN: r204977
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index af4631f..9dd4e62 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c b/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c index 26822d6..35cb904 100644 --- a/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c +++ b/gcc/testsuite/c-c++-common/cilk-plus/PS/reduction-3.c @@ -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) |