diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-17 21:55:07 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-17 21:55:07 +0000 |
commit | 26cae194f732991c91cf5ac17dc09afdd9f4d4eb (patch) | |
tree | 459757a196b1dfd82844813464c49721655a80a4 | |
parent | d6be0d7f2d0a6ca4cd75c7d303fb5b51f79f7ee6 (diff) | |
download | gcc-26cae194f732991c91cf5ac17dc09afdd9f4d4eb.zip gcc-26cae194f732991c91cf5ac17dc09afdd9f4d4eb.tar.gz gcc-26cae194f732991c91cf5ac17dc09afdd9f4d4eb.tar.bz2 |
cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when checking if an unconditional return is followed by a barrier.
* cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
checking if an unconditional return is followed by a barrier.
From-SVN: r90819
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12dfd42..1ebf450 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-17 Kazu Hirata <kazu@cs.umass.edu> + + * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when + checking if an unconditional return is followed by a barrier. + 2004-11-17 Jeff Law <law@redhat.com> * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader. diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 8b11cf3..47f5330 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -2256,8 +2256,7 @@ rtl_verify_flow_info (void) } } - if (INSN_P (x) - && JUMP_P (x) + if (JUMP_P (x) && returnjump_p (x) && ! condjump_p (x) && ! (NEXT_INSN (x) && BARRIER_P (NEXT_INSN (x)))) fatal_insn ("return not followed by barrier", x); |