http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952
--- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2012-05-17 21:19:28 UTC --- To fix this properly, the input location should be tracked for the format string. The location of the format string as argument to printf is available in c-family/c-format.c:check_format_info() but there is no location information for the characters within the string. The location for every character in the format string should be recorded to pin-point the right line/column (think e.g. for a broken long line).