aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-09-21 03:08:45 +0000
committerRichard Stallman <rms@gnu.org>1992-09-21 03:08:45 +0000
commite64ff1039c30a38b6e88e0399f64b7a8fc359e46 (patch)
treedc92f2c2a7fba2c9d769ac260fec3fb4be01d5bd /gcc/combine.c
parent8fed83ffd0265350d6b08f84b2dab39a9e19616f (diff)
downloadgcc-e64ff1039c30a38b6e88e0399f64b7a8fc359e46.zip
gcc-e64ff1039c30a38b6e88e0399f64b7a8fc359e46.tar.gz
gcc-e64ff1039c30a38b6e88e0399f64b7a8fc359e46.tar.bz2
(subst): Set and compare extend_op with 0, not NULL.
From-SVN: r2196
Diffstat (limited to 'gcc/combine.c')
-rw-r--r--gcc/combine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index 6654e17..bc1cc9b 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;