https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79872

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
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);

Reply via email to