diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-02-08 15:52:46 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-02-08 15:52:46 -0800 |
commit | 42fa3cfbd1bc324c581b3acca464df7a731f2205 (patch) | |
tree | c96e62bd04641502d2e55e9a8b9611cdd30c27f0 /gcc | |
parent | 99c7b2f62a0851c94d51c0138b00e0d2bfd5db46 (diff) | |
download | gcc-42fa3cfbd1bc324c581b3acca464df7a731f2205.zip gcc-42fa3cfbd1bc324c581b3acca464df7a731f2205.tar.gz gcc-42fa3cfbd1bc324c581b3acca464df7a731f2205.tar.bz2 |
(find_basic_blocks): Also look for REG_LABEL notes on first
instruction of each basic block.
From-SVN: r6500
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/flow.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -468,13 +468,16 @@ find_basic_blocks (f, nonlocal_label_list) { basic_block_end[i] = insn; basic_block_loop_depth[i] = depth; + } + if (GET_RTX_CLASS (code) == 'i') + { /* Make a list of all labels referred to other than by jumps. */ for (note = REG_NOTES (insn); note; note = XEXP (note, 1)) if (REG_NOTE_KIND (note) == REG_LABEL) label_value_list = gen_rtx (EXPR_LIST, VOIDmode, XEXP (note, 0), label_value_list); - } + } BLOCK_NUM (insn) = i; |