From: Richard Kenner Date: Fri, 9 Oct 1992 11:28:00 +0000 (-0400) Subject: (jump_optimize): Only use a REG as a target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd2cc343574538ab81669faf74a40ee1130cd514;p=gcc.git (jump_optimize): Only use a REG as a target. From-SVN: r2379 --- diff --git a/gcc/jump.c b/gcc/jump.c index 21536b199e3..8ed0c989725 100644 --- 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