From e64ff1039c30a38b6e88e0399f64b7a8fc359e46 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Mon, 21 Sep 1992 03:08:45 +0000 Subject: [PATCH] (subst): Set and compare extend_op with 0, not NULL. From-SVN: r2196 --- gcc/combine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/combine.c b/gcc/combine.c index 6654e17078d..bc1cc9b949c 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -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; -- 2.30.2