From 79e9f721d1a6f370ce0534745baeeb5a56da948e Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 19 Nov 2021 15:29:35 +0100 Subject: Revert "Remove MAY_HAVE_DEBUG_MARKER_STMTS and MAY_HAVE_DEBUG_BIND_STMTS." This reverts commit 206b22d021d94adbaa79e1d443c87415254b15de. --- gcc/tree-cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-cfg.c') diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index cde606e..8ed8c69 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -614,7 +614,7 @@ make_blocks (gimple_seq seq) latest (earliest we find) label, and moving debug stmts that are not separated from it by nondebug nonlabel stmts after the label. */ - if (debug_nonbind_markers_p) + if (MAY_HAVE_DEBUG_MARKER_STMTS) { gimple_stmt_iterator label = gsi_none (); @@ -2139,7 +2139,7 @@ gimple_merge_blocks (basic_block a, basic_block b) gsi_insert_before (&dest_gsi, stmt, GSI_NEW_STMT); } /* Other user labels keep around in a form of a debug stmt. */ - else if (!DECL_ARTIFICIAL (label) && flag_var_tracking_assignments) + else if (!DECL_ARTIFICIAL (label) && MAY_HAVE_DEBUG_BIND_STMTS) { gimple *dbg = gimple_build_debug_bind (label, integer_zero_node, -- cgit v1.1