aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2014-08-19 02:02:09 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2014-08-19 02:02:09 +0000
commit6ae9194fc25f0f5d44191aba155e60de88aa856f (patch)
tree059a972b495e416202bd37761cd22b71dc419bd3 /gcc/cp/class.c
parent0f82e5c9fb49a2618233fcaca6db40fe856e66c1 (diff)
downloadgcc-6ae9194fc25f0f5d44191aba155e60de88aa856f.zip
gcc-6ae9194fc25f0f5d44191aba155e60de88aa856f.tar.gz
gcc-6ae9194fc25f0f5d44191aba155e60de88aa856f.tar.bz2
re PR c/52952 (Wformat location info is bad (wrong column number))
gcc/c-family/ChangeLog: 2014-08-19 Manuel López-Ibáñez <manu@gcc.gnu.org> Steven Bosscher <steven@gcc.gnu.org> PR c/52952 * c-format.c: Add extra_arg_loc and format_string_loc to struct format_check_results. (check_function_format): Use true and add comment for boolean argument. (finish_dollar_format_checking): Use explicit location when warning. (check_format_info): Likewise. (check_format_arg): Set extra_arg_loc and format_string_loc. (check_format_info_main): Use explicit location when warning. (check_format_types): Pass explicit location. (format_type_warning): Likewise. gcc/testsuite/ChangeLog: 2014-08-19 Manuel López-Ibáñez <manu@gcc.gnu.org> Steven Bosscher <steven@gcc.gnu.org> PR c/52952 * gcc.dg/redecl-4.c: Add column markers. * gcc.dg/format/bitfld-1.c: Likewise. * gcc.dg/format/attr-2.c: Likewise. * gcc.dg/format/attr-6.c: Likewise. * gcc.dg/format/array-1.c: Likewise. * gcc.dg/format/attr-7.c: Likewise. * gcc.dg/format/asm_fprintf-1.c: Likewise. * gcc.dg/format/attr-4.c: Likewise. * gcc.dg/format/branch-1.c: Likewise. * gcc.dg/format/c90-printf-1.c: Likewise. Co-Authored-By: Steven Bosscher <steven@gcc.gnu.org> From-SVN: r214129
Diffstat (limited to 'gcc/cp/class.c')
0 files changed, 0 insertions, 0 deletions