From 5dc6f3c7fbc425bae506517985b28eefb0d39412 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 10 Mar 2019 04:03:58 -0400 Subject: dwarf2out_begin_prologue(): only omit label when exception handling is sjlj. --- gcc/dwarf2out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 025593cef..b7013093d 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -4050,7 +4050,7 @@ dwarf2out_begin_prologue (unsigned int line ATTRIBUTE_UNUSED, call-site information. We must emit this label if it might be used. */ if (!do_frame && (!flag_exceptions - || targetm.except_unwind_info (&global_options) != UI_TARGET)) + || targetm.except_unwind_info (&global_options) == UI_SJLJ)) return; fnsec = function_section (current_function_decl); -- cgit v1.2.3