projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26cae19
)
* jump.c (condjump_p): Remove unreachable code.
author
Kazu Hirata
<kazu@cs.umass.edu>
Wed, 17 Nov 2004 21:57:30 +0000
(21:57 +0000)
committer
Kazu Hirata
<kazu@gcc.gnu.org>
Wed, 17 Nov 2004 21:57:30 +0000
(21:57 +0000)
From-SVN: r90820
gcc/ChangeLog
patch
|
blob
|
history
gcc/jump.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 1ebf450045feb0c05742768083706566b79eb59a..f88acfb44af248360b8cf7d0de3399baff5fc044 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-3,6
+3,8
@@
* cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when
checking if an unconditional return is followed by a barrier.
+ * jump.c (condjump_p): Remove unreachable code.
+
2004-11-17 Jeff Law <law@redhat.com>
* tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader.
diff --git
a/gcc/jump.c
b/gcc/jump.c
index ed6ef1e5871c186de777ce9fe8e448b55f82121b..0378cf7c55e9e9ed05c05c30902d13722e881be1 100644
(file)
--- a/
gcc/jump.c
+++ b/
gcc/jump.c
@@
-766,8
+766,6
@@
condjump_p (rtx insn)
|| (GET_CODE (XEXP (x, 1)) == PC
&& (GET_CODE (XEXP (x, 2)) == LABEL_REF
|| GET_CODE (XEXP (x, 2)) == RETURN))));
-
- return 0;
}
/* Return nonzero if INSN is a (possibly) conditional jump inside a