2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
* c-common.c (pointer_int_sum): Use %wd on return from
tree_low_cst.
From-SVN: r145112
+2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * c-common.c (pointer_int_sum): Use %wd on return from
+ tree_low_cst.
+
2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
* c-common.c (pointer_int_sum): Use HOST_WIDE_INT_PRINT_DEC
offset = offset + tree_low_cst (intop, 0);
if (offset < 0 || offset > max)
- warning_at (location, 0, "offset %<" HOST_WIDE_INT_PRINT_DEC
- "%> outside bounds of constant string",
+ warning_at (location, 0,
+ "offset %<%wd%> outside bounds of constant string",
tree_low_cst (intop, 0));
}
}