tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to HOST_WIDE_INT_PRINT_DE...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 12 Apr 2012 21:22:53 +0000 (21:22 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 12 Apr 2012 21:22:53 +0000 (21:22 +0000)
2012-04-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to
HOST_WIDE_INT_PRINT_DEC in format strings.

From-SVN: r186393

gcc/ChangeLog
gcc/tree-ssa-reassoc.c

index 9f14683..a0b7aa7 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       * tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to
+       HOST_WIDE_INT_PRINT_DEC in format strings.
+
 2012-04-12  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/52932
index eb46bfa..4385fbf 100644 (file)
@@ -3186,7 +3186,8 @@ attempt_builtin_powi (gimple stmt, VEC(operand_entry_t, heap) **ops,
                      if (elt < vec_len - 1)
                        fputs (" * ", dump_file);
                    }
-                 fprintf (dump_file, ")^%ld\n", power);
+                 fprintf (dump_file, ")^"HOST_WIDE_INT_PRINT_DEC"\n",
+                          power);
                }
            }
        }
@@ -3219,7 +3220,7 @@ attempt_builtin_powi (gimple stmt, VEC(operand_entry_t, heap) **ops,
                  if (elt < vec_len - 1)
                    fputs (" * ", dump_file);
                }
-             fprintf (dump_file, ")^%ld\n", power);
+             fprintf (dump_file, ")^"HOST_WIDE_INT_PRINT_DEC"\n", power);
            }
 
          reassociate_stats.pows_created++;