]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
re PR c/59846 (Imprecise column number for -Wtype-limits)
authorMarek Polacek <polacek@redhat.com>
Thu, 23 Jan 2014 21:01:08 +0000 (21:01 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 23 Jan 2014 21:01:08 +0000 (21:01 +0000)
commit393e8e8b0ca526d8909ace6303785dd522b1c8ce
tree98eae88584be77108a2375e808287ccd88b48a78
parent6e23f2967868d307d367385411a5e61e6de2c02b
re PR c/59846 (Imprecise column number for -Wtype-limits)

PR c/59846
c-family/
* c-common.c (shorten_compare): Add location_t parameter.
* c-common.h (shorten_binary_op): Adjust declaration.
cp/
* typeck.c (cp_build_binary_op): Pass location to shorten_compare.
c/
* c-typeck.c (parser_build_binary_op): Use location instead of
input_location.
(build_binary_op): Pass location to shorten_compare.
testsuite/
* gcc.dg/pr59846.c: New test.

From-SVN: r207008
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/c-family/c-common.h
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr59846.c [new file with mode: 0644]
This page took 0.064091 seconds and 5 git commands to generate.