diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-11-04 08:26:30 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2009-11-04 08:26:30 +0100 |
commit | 00ffc97dfaff36299281e8f6641c137c86ba1b42 (patch) | |
tree | db4f9beeac2227da14889503657277c9462e616c /gcc/c-common.c | |
parent | 4999625e0fb829e58f97291dde81c710f681a5e6 (diff) | |
download | gcc-00ffc97dfaff36299281e8f6641c137c86ba1b42.zip gcc-00ffc97dfaff36299281e8f6641c137c86ba1b42.tar.gz gcc-00ffc97dfaff36299281e8f6641c137c86ba1b42.tar.bz2 |
c-common.c (fold_offsetof_1): Use %wd instead of HOST_WIDE_INT_PRINT_DEC.
* c-common.c (fold_offsetof_1): Use %wd instead of
HOST_WIDE_INT_PRINT_DEC.
From-SVN: r153887
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 50f316d..a9ca960 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -8403,8 +8403,7 @@ fold_offsetof_1 (tree expr, tree stop_ref) HOST_WIDE_INT index = int_cst_value (t); if (index > int_cst_value (nelts)) warning (OPT_Warray_bounds, - "index " HOST_WIDE_INT_PRINT_DEC " denotes an offset " - "greater than size of %qT", + "index %wd denotes an offset greater than size of %qT", index, TREE_TYPE (TREE_OPERAND (expr, 0))); } break; |