[Bug c/60087] Incorrect column number for -Wsign-compare

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 6 13:58:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60087

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Thu Feb  6 13:57:37 2014
New Revision: 207554

URL: http://gcc.gnu.org/viewcvs?rev=207554&root=gcc&view=rev
Log:
    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.

Added:
    trunk/gcc/testsuite/gcc.dg/pr60087.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c-family/c-common.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list