aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
parent9664b89edd5858fc7bda86c077f15adad71d7046 (diff)
downloadgcc-9b8d9d6b021a35b1d8cb002ba32cc471039528fd.zip
gcc-9b8d9d6b021a35b1d8cb002ba32cc471039528fd.tar.gz
gcc-9b8d9d6b021a35b1d8cb002ba32cc471039528fd.tar.bz2
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')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/flow.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 045c41f..4971b8e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
+ * flow.c (flow_analysis): Be consistent with find_basic_blocks in
+ determining when a new basic block starts.
+
* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
diff --git a/gcc/flow.c b/gcc/flow.c
index 720886d..1c75528 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++;