Commit 7ee9c16f by Jakub Jelinek Committed by Jakub Jelinek

re PR c++/60082 (Certain Cilk keywords executable Hanging for -O1)

	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.

From-SVN: r207597
parent ce245ec6
2014-02-07 Jakub Jelinek <jakub@redhat.com>
PR c++/60082
* tree.c (build_common_builtin_nodes): Set ECF_LEAF for
__builtin_setjmp_receiver.
2014-02-07 Richard Biener <rguenther@suse.de> 2014-02-07 Richard Biener <rguenther@suse.de>
PR middle-end/60092 PR middle-end/60092
......
2014-02-07 Jakub Jelinek <jakub@redhat.com>
PR c++/60082
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.
2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/fp2int1.c: New testcase. * gcc.target/s390/fp2int1.c: New testcase.
......
/* { dg-do run { target { i?86-*-* x86_64-*-* } } } */ /* { dg-do run { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-fcilkplus" } */ /* { dg-options "-fcilkplus" } */
/* { dg-additional-options "-lcilkrts" { target { i?86-*-* x86_64-*-* } } } */ /* { dg-additional-options "-lcilkrts" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-skip-if "" { *-*-* } { "-O1" } { "" } } */
#include <stdlib.h> #include <stdlib.h>
#define DEFAULT_VALUE 30 #define DEFAULT_VALUE 30
......
/* { dg-options "-fcilkplus" } */ /* { dg-options "-fcilkplus" } */
/* { dg-do run { target i?86-*-* x86_64-*-* arm*-*-* } } */ /* { dg-do run { target i?86-*-* x86_64-*-* arm*-*-* } } */
/* { dg-options "-fcilkplus -lcilkrts" { target { i?86-*-* x86_64-*-* arm*-*-* } } } */ /* { dg-options "-fcilkplus -lcilkrts" { target { i?86-*-* x86_64-*-* arm*-*-* } } } */
/* { dg-skip-if "" { *-*-* } { "-O1" } { "" } } */
#include <assert.h> #include <assert.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -9980,7 +9980,7 @@ build_common_builtin_nodes (void) ...@@ -9980,7 +9980,7 @@ build_common_builtin_nodes (void)
ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE); ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE);
local_define_builtin ("__builtin_setjmp_receiver", ftype, local_define_builtin ("__builtin_setjmp_receiver", ftype,
BUILT_IN_SETJMP_RECEIVER, BUILT_IN_SETJMP_RECEIVER,
"__builtin_setjmp_receiver", ECF_NOTHROW); "__builtin_setjmp_receiver", ECF_NOTHROW | ECF_LEAF);
ftype = build_function_type_list (ptr_type_node, NULL_TREE); ftype = build_function_type_list (ptr_type_node, NULL_TREE);
local_define_builtin ("__builtin_stack_save", ftype, BUILT_IN_STACK_SAVE, local_define_builtin ("__builtin_stack_save", ftype, BUILT_IN_STACK_SAVE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment