aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-11-19 15:29:35 +0100
committerMartin Liska <mliska@suse.cz>2021-11-19 15:29:35 +0100
commit79e9f721d1a6f370ce0534745baeeb5a56da948e (patch)
tree9574ee4ccceae4c412c0771e3106422c7c1a0a0e /gcc/ipa-split.c
parentc7381debe4c5dd7878338f38db98face1cfa6f90 (diff)
downloadgcc-79e9f721d1a6f370ce0534745baeeb5a56da948e.zip
gcc-79e9f721d1a6f370ce0534745baeeb5a56da948e.tar.gz
gcc-79e9f721d1a6f370ce0534745baeeb5a56da948e.tar.bz2
Revert "Remove MAY_HAVE_DEBUG_MARKER_STMTS and MAY_HAVE_DEBUG_BIND_STMTS."
This reverts commit 206b22d021d94adbaa79e1d443c87415254b15de.
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index 6537767..c68577d 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -1465,7 +1465,7 @@ split_function (basic_block return_bb, class split_point *split_point,
{
vec<tree, va_gc> **debug_args = NULL;
unsigned i = 0, len = 0;
- if (flag_var_tracking_assignments)
+ if (MAY_HAVE_DEBUG_BIND_STMTS)
{
debug_args = decl_debug_args_lookup (node->decl);
if (debug_args)
@@ -1479,11 +1479,11 @@ split_function (basic_block return_bb, class split_point *split_point,
gimple *def_temp;
/* This needs to be done even without
- flag_var_tracking_assignments, otherwise if it didn't exist
+ MAY_HAVE_DEBUG_BIND_STMTS, otherwise if it didn't exist
before, we'd end up with different SSA_NAME_VERSIONs
between -g and -g0. */
arg = get_or_create_ssa_default_def (cfun, parm);
- if (!flag_var_tracking_assignments || debug_args == NULL)
+ if (!MAY_HAVE_DEBUG_BIND_STMTS || debug_args == NULL)
continue;
while (i < len && (**debug_args)[i] != DECL_ORIGIN (parm))