From: Richard Stallman Date: Fri, 6 Nov 1992 08:28:06 +0000 (+0000) Subject: (output_ior): Handle "ior" against zero. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec583967dcfb337b51f93673958a8814bb386ee4;p=gcc.git (output_ior): Handle "ior" against zero. From-SVN: r2702 --- diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 8421c83612b..b1a8d8dd4b0 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -1254,6 +1254,9 @@ output_ior (operands) { unsigned mask = INTVAL (operands[2]); int bs0, bs1, bs2, p, len; + + if (INTVAL (operands[2]) == 0) + return "copy %1,%0"; for (bs0 = 0; bs0 < 32; bs0++) if ((mask & (1 << bs0)) != 0)