public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/112425] New: Invalid SARIF output when column number is zero
@ 2023-11-07 14:46 dmalcolm at gcc dot gnu.org
2024-06-21 15:53 ` [Bug other/112425] " dmalcolm at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2023-11-07 14:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112425
Bug ID: 112425
Summary: Invalid SARIF output when column number is zero
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
Target Milestone: ---
We use column number == 0 to mean "the whole line".
As noted in:
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/635446.html
SARIF requires column numbers to be >= 1
We should simply omit the attribute for such cases.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug other/112425] Invalid SARIF output when column number is zero
2023-11-07 14:46 [Bug other/112425] New: Invalid SARIF output when column number is zero dmalcolm at gcc dot gnu.org
@ 2024-06-21 15:53 ` dmalcolm at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2024-06-21 15:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112425
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=109360
--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Should be fixed by commit r15-1540-g9f4fdc3acebcf6b045edea1361570658da4bc0ab.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-21 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 14:46 [Bug other/112425] New: Invalid SARIF output when column number is zero dmalcolm at gcc dot gnu.org
2024-06-21 15:53 ` [Bug other/112425] " dmalcolm at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).