projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67b4e4
)
(jump_optimize): Only use a REG as a target.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 9 Oct 1992 11:28:00 +0000
(07:28 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 9 Oct 1992 11:28:00 +0000
(07:28 -0400)
From-SVN: r2379
gcc/jump.c
patch
|
blob
|
history
diff --git
a/gcc/jump.c
b/gcc/jump.c
index 21536b199e361f94c10717c11cfe44c218518664..8ed0c9897256fdacfea78aeba58fdd103f620e14 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