summaryrefslogtreecommitdiff
path: root/gcc/expmed.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-03-27 12:45:08 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1996-03-27 12:45:08 +0000
commit4e57dfc518964d54007192ceffa142c90265a451 (patch)
tree8c8003f06370a24897118bc5f093c9803d64bf88 /gcc/expmed.c
parent18b08930bd41fa5e195979ab407b1f0dd71c30a5 (diff)
downloadgcc-4e57dfc518964d54007192ceffa142c90265a451.tar.gz
(negate_rtx): Fix typo in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11624 138bc75d-0d04-0410-961f-82ee72b054a4
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;