diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-09 07:28:00 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-10-09 07:28:00 -0400 |
commit | dd2cc343574538ab81669faf74a40ee1130cd514 (patch) | |
tree | 4b6be68af147d3baa0b99e224f533aa9eff025a4 /gcc | |
parent | b67b4e47b0a2fc857295303a648839dc4ff4cdc8 (diff) | |
download | gcc-dd2cc343574538ab81669faf74a40ee1130cd514.zip gcc-dd2cc343574538ab81669faf74a40ee1130cd514.tar.gz gcc-dd2cc343574538ab81669faf74a40ee1130cd514.tar.bz2 |
(jump_optimize): Only use a REG as a target.
From-SVN: r2379
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/jump.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |