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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
It looks like this part is what GCC gets wrong:
If a SARIF consumer uses a column measurement unit other than that specified by
columnKind, and if the consumer is required to interact with the artifact’s
contents (for example, by displaying the artifact in an editor and highlighting
a region), the consumer SHALL recompute column numbers in its (the consumer’s)
native measurement unit.



Basically GCC is doing the post calculation of a tab rather the pre one.

This might be an issue because GCC column info is just stored post tabs. And
that same location is used for debugging info which requires tabs to be
expanded ....

Reply via email to