OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ced43
)
(jump_optimize): Only use a REG as a target.
author
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Oct 1992 11:28:00 +0000
(11:28 +0000)
committer
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Oct 1992 11:28:00 +0000
(11:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2379
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/jump.c
patch
|
blob
|
history
diff --git
a/gcc/jump.c
b/gcc/jump.c
index
21536b1
..
8ed0c98
100644
(file)
--- a/
gcc/jump.c
+++ b/
gcc/jump.c
@@
-1123,7
+1123,9
@@
jump_optimize (f, cross_jump, noop_moves, after_regscan)
{
tem2 = expand_unop (GET_MODE (var), one_cmpl_optab,
target, NULL_RTX, 0);
- tem2 = expand_and (cval, tem2, tem2);
+ tem2 = expand_and (cval, tem2,
+ (GET_CODE (tem2) == REG
+ ? tem2 : 0));
}
/* If we usually make new pseudos, do so here. This