http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56856
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Blocks| |52952 Summary|the location of -Wformat |the location of Wformat |warnings point *after* the |warnings points *after* the |format string |format string --- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-06 10:50:20 UTC --- And this blocks PR52952 because with the *correct* offset, we get this in C++: /home/manuel/test2/src/gcc/testsuite/g++.dg/ext/builtin4.C:9:16: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] printf("%d"); // { dg-warning "expects a matching" } ^ which is even worse than without offset locations.