From: Bill Schmidt Date: Thu, 12 Apr 2012 21:22:53 +0000 (+0000) Subject: tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to HOST_WIDE_INT_PRINT_DE... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ede5f2c24b169223b884bfbbd198edc61d057ce;p=gcc.git tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to HOST_WIDE_INT_PRINT_DEC in format strings. 2012-04-12 Bill Schmidt * tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to HOST_WIDE_INT_PRINT_DEC in format strings. From-SVN: r186393 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9f146831489..a0b7aa7639a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-04-12 Bill Schmidt + + * tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to + HOST_WIDE_INT_PRINT_DEC in format strings. + 2012-04-12 Uros Bizjak PR target/52932 diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index eb46bfa7f6b..4385fbf994b 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++;