Hi! On Mon, 2 Nov 2015 20:10:06 +0000, "Zamyatin, Igor" <[email protected]> wrote: > This patches fixes FP exception that comes from CilkPlus runtime. > > Bootstrapped and regtested for x86_64.
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/cilk-plus/CK/pr66326.cc
> @@ -0,0 +1,33 @@
> +/* { dg-options "-fcilkplus" } */
> +/* { dg-do run { target i?86-*-* x86_64-*-* } } */
> +/* { dg-options "-fcilkplus -lcilkrts" { target { i?86-*-* x86_64-*-* } } }
> */
> +
> +#include <cilk/cilk.h>
> +[...]
I'm seeing:
FAIL: g++.dg/cilk-plus/CK/pr66326.cc -O1 -fcilkplus (test for excess
errors)
UNRESOLVED: g++.dg/cilk-plus/CK/pr66326.cc -O1 -fcilkplus compilation
failed to produce executable
FAIL: g++.dg/cilk-plus/CK/pr66326.cc -O3 -fcilkplus (test for excess
errors)
UNRESOLVED: g++.dg/cilk-plus/CK/pr66326.cc -O3 -fcilkplus compilation
failed to produce executable
FAIL: g++.dg/cilk-plus/CK/pr66326.cc -g -O2 -fcilkplus (test for excess
errors)
UNRESOLVED: g++.dg/cilk-plus/CK/pr66326.cc -g -O2 -fcilkplus compilation
failed to produce executable
FAIL: g++.dg/cilk-plus/CK/pr66326.cc -g -fcilkplus (test for excess errors)
UNRESOLVED: g++.dg/cilk-plus/CK/pr66326.cc -g -fcilkplus compilation
failed to produce executable
..., which is because of:
[...]/gcc/testsuite/g++.dg/cilk-plus/CK/pr66326.cc:5:23: fatal error:
cilk/cilk.h: No such file or directory
This is the only test case trying to include that file:
$ git grep --cached -F cilk.h -- gcc/testsuite/
gcc/testsuite/g++.dg/cilk-plus/CK/pr66326.cc:#include <cilk/cilk.h>
..., so I guess that's not supported?
Grüße
Thomas
signature.asc
Description: PGP signature
