projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7b1d0
)
(get_jump_flags): Check for LABEL == 0 before using LABEL.
author
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 4 Apr 1993 21:47:30 +0000
(17:47 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Sun, 4 Apr 1993 21:47:30 +0000
(17:47 -0400)
From-SVN: r4008
gcc/reorg.c
patch
|
blob
|
history
diff --git
a/gcc/reorg.c
b/gcc/reorg.c
index 81b8c512de10216cfbe22706f5dc9b6aeef5955a..83bbddae66c64e186bcda678d1ea80aeac03463f 100644
(file)
--- a/
gcc/reorg.c
+++ b/
gcc/reorg.c
@@
-1137,8
+1137,8
@@
get_jump_flags (insn, label)
if (GET_CODE (insn) == JUMP_INSN
&& condjump_p (insn)
&& INSN_UID (insn) <= max_uid
- &&
INSN_UID (label) <= max_uid
- &&
label != 0
)
+ &&
label != 0
+ &&
INSN_UID (label) <= max_uid
)
flags
= (uid_to_ruid[INSN_UID (label)] > uid_to_ruid[INSN_UID (insn)])
? ATTR_FLAG_forward : ATTR_FLAG_backward;