(subst): Set and compare extend_op with 0, not NULL.
authorRichard Stallman <rms@gnu.org>
Mon, 21 Sep 1992 03:08:45 +0000 (03:08 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 21 Sep 1992 03:08:45 +0000 (03:08 +0000)
From-SVN: r2196

gcc/combine.c

index 6654e17078d9b74ac94c9742491a3a1c748497e3..bc1cc9b949cc06d9a0fa2a1eeece4164ab707edf 100644 (file)
@@ -3561,7 +3561,7 @@ subst (x, from, to, in_dest, unique_copy)
                     ? const1_rtx : constm1_rtx);
          rtx c = 0;
          enum machine_mode m = mode;
-         enum rtx_code op, extend_op = NULL;
+         enum rtx_code op, extend_op = 0;
 
          if ((GET_CODE (nz) == PLUS || GET_CODE (nz) == MINUS
               || GET_CODE (nz) == IOR || GET_CODE (nz) == XOR
@@ -3621,7 +3621,7 @@ subst (x, from, to, in_dest, unique_copy)
 
              temp = gen_binary (op, m, gen_lowpart_for_combine (m, z), temp);
 
-             if (extend_op != NULL)
+             if (extend_op != 0)
                temp = gen_unary (extend_op, mode, temp);
 
              return temp;