diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,6 +44,7 @@ along with GCC; see the file COPYING3. If not see #include "filenames.h" #include "output.h" #include "target.h" +#include "common/common-target.h" #include "langhooks.h" #include "tree-inline.h" #include "tree-iterator.h" @@ -9476,7 +9477,7 @@ build_common_builtin_nodes (void) ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE); local_define_builtin ("__builtin_unwind_resume", ftype, BUILT_IN_UNWIND_RESUME, - ((targetm.except_unwind_info (&global_options) + ((targetm_common.except_unwind_info (&global_options) == UI_SJLJ) ? "_Unwind_SjLj_Resume" : "_Unwind_Resume"), ECF_NORETURN); |