diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-04-12 21:22:53 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2012-04-12 21:22:53 +0000 |
commit | 1ede5f2c24b169223b884bfbbd198edc61d057ce (patch) | |
tree | 7e7c7647529b663b8c9f98100dee76998dd6e88a /gcc/tree-ssa-reassoc.c | |
parent | 2fc9b37dd021df4f3edbda3be09bd891b5bf71e3 (diff) | |
download | gcc-1ede5f2c24b169223b884bfbbd198edc61d057ce.zip gcc-1ede5f2c24b169223b884bfbbd198edc61d057ce.tar.gz gcc-1ede5f2c24b169223b884bfbbd198edc61d057ce.tar.bz2 |
tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to HOST_WIDE_INT_PRINT_DEC in format strings.
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
Diffstat (limited to 'gcc/tree-ssa-reassoc.c')
-rw-r--r-- | gcc/tree-ssa-reassoc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index eb46bfa..4385fbf 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -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++; |