public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Thomas Schwinge <thomas@codesourcery.com>
To: "Zamyatin, Igor" <igor.zamyatin@intel.com>
Cc: "Jeff Law (law@redhat.com)" <law@redhat.com>,
	"Jakub Jelinek (jakub@redhat.com)" <jakub@redhat.com>,
	"GCC Patches (gcc-patches@gcc.gnu.org)" <gcc-patches@gcc.gnu.org>
Subject: Re: [PR66326, Cilk+] Fix FP exception occured in CilkPlus runtime
Date: Mon, 09 Nov 2015 16:29:00 -0000	[thread overview]
Message-ID: <871tbzw31l.fsf@kepler.schwinge.homeip.net> (raw)
In-Reply-To: <0EFAB2BDD0F67E4FB6CCC8B9F87D7569738142A0@IRSMSX101.ger.corp.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

      parent reply	other threads:[~2015-11-09 16:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-02 20:10 Zamyatin, Igor
2015-11-02 21:38 ` Jeff Law
2015-11-09 16:29 ` Thomas Schwinge [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tbzw31l.fsf@kepler.schwinge.homeip.net \
    --to=thomas@codesourcery.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=igor.zamyatin@intel.com \
    --cc=jakub@redhat.com \
    --cc=law@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).