From 7ee9c16fa85f5670bc906894f1216835f277c2d7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 7 Feb 2014 11:49:08 +0100 Subject: 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 * 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 --- gcc/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 49767b6..d102d07 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -9980,7 +9980,7 @@ build_common_builtin_nodes (void) ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE); local_define_builtin ("__builtin_setjmp_receiver", ftype, 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); local_define_builtin ("__builtin_stack_save", ftype, BUILT_IN_STACK_SAVE, -- cgit v1.1