re PR c/60087 (Incorrect column number for -Wsign-compare)
authorMarek Polacek <polacek@redhat.com>
Thu, 6 Feb 2014 13:57:37 +0000 (13:57 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 6 Feb 2014 13:57:37 +0000 (13:57 +0000)
commit0a756a3ffc875e13842708c8affcce48c9644dc7
tree7f3617b3d19158f94a435de336f3756ce8f120e6
parentfdcee33b242a61a3915cac4ed25a43c0d8aa157f
re PR c/60087 (Incorrect column number for -Wsign-compare)

PR c/60087
c-family/
* c-common.c (warn_for_sign_compare): Call warning_at with location
instead of warning.
testsuite/
* gcc.dg/pr60087.c: New test.

From-SVN: r207554
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr60087.c [new file with mode: 0644]