public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
@ 2014-02-05 17:06 ` bviyer at gmail dot com
  2014-02-05 18:17 ` dominiq at lps dot ens.fr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bviyer at gmail dot com @ 2014-02-05 17:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

Balaji V. Iyer <bviyer at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1
@ 2014-02-05 17:06 bviyer at gmail dot com
  2014-02-05 17:06 ` [Bug c++/60082] " bviyer at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bviyer at gmail dot com @ 2014-02-05 17:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

            Bug ID: 60082
           Summary: Certain Cilk keywords executable Hanging for -O1
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bviyer at gmail dot com

The following two Cilk Plus tests is timing out at -O1 in my x86_64 box (-O2,
-O3  and -O0 works fine). These tests were working fine till revision r207047.
Some check-in between r207047 and r207437 seem to have caused it. Can someone
please look at this? It looks like a middle-end/back-end issue.

WARNING: program timed out.
FAIL: g++.dg/cilk-plus/CK/catch_exc.cc  -O1 -fcilkplus execution test
WARNING: program timed out.
FAIL: c-c++-common/cilk-plus/CK/spawner_inline.c  -O1 execution test

Thanks,

Balaji V. Iyer.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
  2014-02-05 17:06 ` [Bug c++/60082] " bviyer at gmail dot com
@ 2014-02-05 18:17 ` dominiq at lps dot ens.fr
  2014-02-05 18:18 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-02-05 18:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |paolo at gcc dot gnu.org

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
According to http://gcc.gnu.org/ml/gcc-regression/2014-02/msg00001.html this
appeared between r207378 and r207382 (candidates r207382 or r207383).


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
  2014-02-05 17:06 ` [Bug c++/60082] " bviyer at gmail dot com
  2014-02-05 18:17 ` dominiq at lps dot ens.fr
@ 2014-02-05 18:18 ` dominiq at lps dot ens.fr
  2014-02-05 18:33 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-02-05 18:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-05
     Ever confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed indeed!


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
                   ` (2 preceding siblings ...)
  2014-02-05 18:18 ` dominiq at lps dot ens.fr
@ 2014-02-05 18:33 ` dominiq at lps dot ens.fr
  2014-02-07 10:49 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-02-05 18:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> According to http://gcc.gnu.org/ml/gcc-regression/2014-02/msg00001.html 
> this appeared between r207378 and r207382 (candidates r207382 or r207383).

(candidates r207382 or r207383) should be r207382.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
                   ` (3 preceding siblings ...)
  2014-02-05 18:33 ` dominiq at lps dot ens.fr
@ 2014-02-07 10:49 ` jakub at gcc dot gnu.org
  2014-02-07 13:01 ` jakub at gcc dot gnu.org
  2015-02-24 20:54 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-07 10:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Feb  7 10:49:08 2014
New Revision: 207597

URL: http://gcc.gnu.org/viewcvs?rev=207597&root=gcc&view=rev
Log:
    PR c++/60082
    * tree.c (build_common_builtin_nodes): Set ECF_LEAF for
    __builtin_setjmp_receiver.

    Revert
    2014-02-05  Balaji V. Iyer  <balaji.v.iyer@intel.com>

    * g++.dg/cilk-plus/CK/catch_exc.cc: Disable test for -O1.
    * c-c++-common/cilk-plus/CK/spawner_inline.c: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawner_inline.c
    trunk/gcc/testsuite/g++.dg/cilk-plus/CK/catch_exc.cc
    trunk/gcc/tree.c


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
                   ` (4 preceding siblings ...)
  2014-02-07 10:49 ` jakub at gcc dot gnu.org
@ 2014-02-07 13:01 ` jakub at gcc dot gnu.org
  2015-02-24 20:54 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-07 13:01 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
catch_exc.cc FAILs (other than timeout) seem to be a Cilk+ bug, if it ever
worked, it seems to have worked by accident.
The problem is that __cilkrts_rethrow conditionally throws an exception, but is
marked TREE_NOTHROW, thus there are no EH edges out of it.

2014-02-07  Jakub Jelinek  <jakub@redhat.com>

    * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW
    flag on __cilkrts_rethrow builtin.

--- gcc/cilk-common.c.jj    2014-02-06 23:06:47.000000000 +0100
+++ gcc/cilk-common.c    2014-02-07 11:11:15.253128977 +0100
@@ -285,6 +285,7 @@ cilk_init_builtins (void)
   /* __cilkrts_rethrow (struct stack_frame *);  */
   cilk_rethrow_fndecl = install_builtin ("__cilkrts_rethrow", fptr_fun, 
                      BUILT_IN_CILK_RETHROW, false);
+  TREE_NOTHROW (cilk_rethrow_fndecl) = 0;

   /* __cilkrts_save_fp_ctrl_state (__cilkrts_stack_frame *);  */
   cilk_save_fp_fndecl = install_builtin ("__cilkrts_save_fp_ctrl_state",


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/60082] Certain Cilk keywords executable Hanging for -O1
  2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
                   ` (5 preceding siblings ...)
  2014-02-07 13:01 ` jakub at gcc dot gnu.org
@ 2015-02-24 20:54 ` law at redhat dot com
  6 siblings, 0 replies; 8+ messages in thread
From: law at redhat dot com @ 2015-02-24 20:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60082

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |law at redhat dot com
         Resolution|---                         |FIXED

--- Comment #7 from Jeffrey A. Law <law at redhat dot com> ---
Fixed long ago.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-24 19:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-05 17:06 [Bug c++/60082] New: Certain Cilk keywords executable Hanging for -O1 bviyer at gmail dot com
2014-02-05 17:06 ` [Bug c++/60082] " bviyer at gmail dot com
2014-02-05 18:17 ` dominiq at lps dot ens.fr
2014-02-05 18:18 ` dominiq at lps dot ens.fr
2014-02-05 18:33 ` dominiq at lps dot ens.fr
2014-02-07 10:49 ` jakub at gcc dot gnu.org
2014-02-07 13:01 ` jakub at gcc dot gnu.org
2015-02-24 20:54 ` law at redhat dot com

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