This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR66326, Cilk+] Fix FP exception occured in CilkPlus runtime


Hi!

On Mon, 2 Nov 2015 20:10:06 +0000, "Zamyatin, Igor" <igor.zamyatin@intel.com> 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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]