summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-12-13 01:49:10 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-12-12 20:49:10 -0500
commit9b8d9d6b021a35b1d8cb002ba32cc471039528fd (patch)
tree1508fd7f139e5ff3ac88d8d6bb7dfa073ef746d3 /gcc/flow.c
parent9664b89edd5858fc7bda86c077f15adad71d7046 (diff)
downloadgcc-9b8d9d6b021a35b1d8cb002ba32cc471039528fd.tar.gz
flow.c (flow_analysis): Be consistent with find_basic_blocks in determining when a new basic block starts.
* flow.c (flow_analysis): Be consistent with find_basic_blocks in determining when a new basic block starts. From-SVN: r17085
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 720886d79d6..1c755281499 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -317,7 +317,8 @@ flow_analysis (f, nregs, file)
|| (GET_RTX_CLASS (code) == 'i'
&& (prev_code == JUMP_INSN
|| (prev_code == CALL_INSN
- && (nonlocal_label_list != 0 || eh_region))
+ && (nonlocal_label_list != 0 || eh_region)
+ && ! find_reg_note (insn, REG_RETVAL, NULL_RTX))
|| prev_code == BARRIER)))
i++;