aboutsummaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-03-27 07:45:08 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-03-27 07:45:08 -0500
commitfdb5537fe026a4c2ce2874325ca4793c2d2c642c (patch)
tree8c8003f06370a24897118bc5f093c9803d64bf88 /gcc/expmed.c
parent144a315026642a1fd2c3973d78a5ed3e52beaafd (diff)
(negate_rtx): Fix typo in previous change.
From-SVN: r11624
Diffstat (limited to 'gcc/expmed.c')
-rw-r--r--gcc/expmed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c
index 0d3983c183a..219d308413c 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -187,7 +187,7 @@ negate_rtx (mode, x)
{
rtx result = simplify_unary_operation (NEG, mode, x, mode);
- if (result = 0)
+ if (result == 0)
result = expand_unop (mode, neg_optab, x, NULL_RTX, 0);
return result;