diff options
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 0d335fc..de07fcd 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -115,7 +115,8 @@ can_delete_label_p (const rtx_code_label *label) return (!LABEL_PRESERVE_P (label) /* User declared labels must be preserved. */ && LABEL_NAME (label) == 0 - && !in_insn_list_p (forced_labels, label)); + && !vec_safe_contains<rtx_insn *> (forced_labels, + const_cast<rtx_code_label *> (label))); } /* Delete INSN by patching it out. */ |