(negate_rtx): Fix typo in previous change.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 27 Mar 1996 12:45:08 +0000 (07:45 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 27 Mar 1996 12:45:08 +0000 (07:45 -0500)
From-SVN: r11624

gcc/expmed.c

index 0d3983c..219d308 100644 (file)
@@ -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;