http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60279
Bug ID: 60279 Summary: Incorrect column number for -Wuninitialized in return statement Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: chengniansun at gmail dot com I found the column number in the return statement of -Wuninitialized is not correct. $: cat s.c int g(char *); int f(void) { char *s; return g(s); } $: gcc-trunk -Wuninitialized -c s.c s.c: In function āfā: s.c:4:3: warning: āsā is used uninitialized in this function [-Wuninitialized] return g(s); ^ $: gcc-trunk --version gcc-trunk (GCC) 4.9.0 20140217 (experimental) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $: