fold-const.c (fold_binary_loc): Fix copy-and-pasto.
authorRichard Biener <rguenther@suse.de>
Fri, 24 Oct 2014 07:57:51 +0000 (07:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 24 Oct 2014 07:57:51 +0000 (07:57 +0000)
2014-10-24  Richard Biener  <rguenther@suse.de>

* fold-const.c (fold_binary_loc): Fix copy-and-pasto.

From-SVN: r216617

gcc/ChangeLog
gcc/fold-const.c

index 857acd07f82e0953068a97cfefbf65c154e21994..01f44ecaca0c57a2a3823768f66444cdbbbb3a9b 100644 (file)
@@ -1,3 +1,7 @@
+2014-10-24  Richard Biener  <rguenther@suse.de>
+
+       * fold-const.c (fold_binary_loc): Fix copy-and-pasto.
+
 2014-10-24  Markus Trippelsdorf  <markus@trippelsdorf.de>
 
        PR bootstrap/63632
index d70658c32d516f65b28fa1d028a5cca6ef32b0c8..40317f3ace9fabe491e1fb1cc19476eeefe60f84 100644 (file)
@@ -10596,8 +10596,9 @@ fold_binary_loc (location_t loc,
                                             TREE_OPERAND (arg1, 0));
              tree arg11 = fold_convert_loc (loc, type,
                                             TREE_OPERAND (arg1, 1));
-             tree tmp = fold_binary_loc (loc, MINUS_EXPR, type, arg0,
-                                         fold_convert_loc (loc, type, arg10));
+             tree tmp = fold_binary_loc (loc, MINUS_EXPR, type,
+                                         fold_convert_loc (loc, type, arg0),
+                                         arg10);
              if (tmp)
                return fold_build2_loc (loc, MINUS_EXPR, type, tmp, arg11);
            }