diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2016-08-28 00:03:59 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2016-08-28 00:03:59 +0000 |
commit | 6f7eba349b7f2b140f163b772ba94b383d02d64e (patch) | |
tree | 6e015ffd2f6f050040be30de304e3e8a115eba43 /gcc/dwarf2cfi.c | |
parent | 9cad8a673f30b657218eb73565b992ba203a2581 (diff) | |
download | gcc-6f7eba349b7f2b140f163b772ba94b383d02d64e.zip gcc-6f7eba349b7f2b140f163b772ba94b383d02d64e.tar.gz gcc-6f7eba349b7f2b140f163b772ba94b383d02d64e.tar.bz2 |
make forced labels a vec
gcc/ChangeLog:
2016-08-27 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* cfgbuild.c (make_edges): Adjust.
* cfgrtl.c (can_delete_label_p): Likewise.
* dwarf2cfi.c (create_trace_edges): Likewise.
* except.c (sjlj_emit_dispatch_table): Likewise.
* function.h (struct expr_status): make x_forced_labels a vector.
* jump.c (rebuild_jump_labels_1): Adjust.
* reload1.c (set_initial_label_offsets): Likewise.
* stmt.c (force_label_rtx): Likewise.
(expand_label): Likewise.
From-SVN: r239800
Diffstat (limited to 'gcc/dwarf2cfi.c')
-rw-r--r-- | gcc/dwarf2cfi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/dwarf2cfi.c b/gcc/dwarf2cfi.c index bcf79f5..6491d5a 100644 --- a/gcc/dwarf2cfi.c +++ b/gcc/dwarf2cfi.c @@ -2354,8 +2354,10 @@ create_trace_edges (rtx_insn *insn) } else if (computed_jump_p (insn)) { - for (rtx_insn_list *lab = forced_labels; lab; lab = lab->next ()) - maybe_record_trace_start (lab->insn (), insn); + rtx_insn *temp; + unsigned int i; + FOR_EACH_VEC_SAFE_ELT (forced_labels, i, temp) + maybe_record_trace_start (temp, insn); } else if (returnjump_p (insn)) ; |