http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph at codesourcery dot | |com --- Comment #17 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-03-30 12:40:24 UTC --- BTW, I have a patch based on Steven's one that is almost working and for simple strings handles a location+offset. However, there are several issues: * Cases like: 1: const str[] = "something %d"; 2: printf(str); will report a location at 2 plus offset of %d, not nice. * I didn't transform the most obscure format warnings. Some of them have no easy location at hand and others I simply don't know what we want to point at. * It would be extremely nice to update the testsuite to check the locations are correct. This is unfortunately a lot of boring work, so if I cannot get help to do this, I hope it is not a pre-condition for approval.