[Bug other/79872] document placeholder %K in gcc-internal-format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Thomas Schwinge --- This one has been "resolved" via commit r12-2089-g4f6e181181a48c341e524653cae0885fd170131e "Remove support for %G and %K".
[Bug other/79872] document placeholder %K in gcc-internal-format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org, ||msebor at gcc dot gnu.org --- Comment #4 from Eric Gallager --- (In reply to Manuel López-Ibáñez from comment #3) > %K is designed to print the inline stack, but I cannot see this documented > anywhere (and as far as I know, only the C++ front-end uses it). I think it's been put to use in more places recently; cc-ing people I remember discussing bugs about modifying warnings to show the inlining stack
[Bug other/79872] document placeholder %K in gcc-internal-format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Manuel López-Ibáñez --- %K is designed to print the inline stack, but I cannot see this documented anywhere (and as far as I know, only the C++ front-end uses it).
[Bug other/79872] document placeholder %K in gcc-internal-format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment #2 from Manuel López-Ibáñez --- I'd argue that %K is an aberration, since it doesn't control the printing of its argument, but rather the location of the diagnostic. Instead, code such as: error ("%Klane %wd out of range %wd - %wd", exp, lane, low, high - 1); should be written as: error_at (abstract_origin_of (exp), "lane %wd out of range %wd - %wd", lane, low, high - 1);
[Bug other/79872] document placeholder %K in gcc-internal-format
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-10-26 Ever confirmed|0 |1 --- Comment #1 from Eric Gallager --- (In reply to Roland Illig from comment #0) > In config/aarch64/aarch64.c I found this code: > > error ("%Klane %wd out of range %wd - %wd", exp, lane, low, high - 1); > > It seems wrong to me that there is no space after the %K. > > The gettext documentation doesn't mention the %K specifier at all. > (https://savannah.gnu.org/bugs/index.php?50461) > > Please work together with the gettext people to create current and correct > documentation for the gcc-internal-format. Confirmed.