[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-12-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #37 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ea7da640cf234ebde8d73d996dd14e6563c1ffcf commit r15-6283-gea7da640cf234ebde8d73d996dd14e6563c1ffcf Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org Severit

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-29 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #35 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:0b73e9382ab51c00a79b2a6f8abbcd31d87f6814 commit r15-4760-g0b73e9382ab51c00a79b2a6f8abbcd31d87f6814 Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-26 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #34 from Kamil Dudka --- (In reply to David Malcolm from comment #33) > Note that the "2.2-prerelease" stuff does almost nothing at this stage and > is experimental; you should probably leave "version" unset so that it uses > the def

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-25 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #33 from David Malcolm --- (In reply to Kamil Dudka from comment #32) > Thanks for the update! I confirm that the man page is readable now and that > the use of -fdiagnostics-set-output= eliminated the duplicated output > without th

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-25 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #32 from Kamil Dudka --- Thanks for the update! I confirm that the man page is readable now and that the use of -fdiagnostics-set-output= eliminated the duplicated output without the ugly workaround. I have also tried sarif:version

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-24 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #31 from David Malcolm --- (In reply to Kamil Dudka from comment #27) > Sounds good, looking forward to try out a new COPR build! I've update the COPR to use the latest version of my patches: https://copr.fedorainfracloud.org/copr

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #30 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ecd6bee0913db1237424ea68b0b1ec252b024e9c commit r15-4617-gecd6bee0913db1237424ea68b0b1ec252b024e9c Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #29 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:b3aa301db1b09b533b3635791a98d6bf906e9a15 commit r15-4615-gb3aa301db1b09b533b3635791a98d6bf906e9a15 Author: Thomas Schwinge Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #28 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:bf43fe6aa966eaf397ea3b8ebd6408d3d124e285 commit r15-4610-gbf43fe6aa966eaf397ea3b8ebd6408d3d124e285 Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-24 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #27 from Kamil Dudka --- Sounds good, looking forward to try out a new COPR build!

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #26 from David Malcolm --- (In reply to David Malcolm from comment #18) > (In reply to Kamil Dudka from comment #16) > > (In reply to David Malcolm from comment #15) > > > (In reply to Kamil Dudka from comment #14) > > [...snip...]

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Bug 116613 depends on bug 105916, which changed state. Bug 105916 Summary: gfortran -fdiagnostics-format=json/sarif* output contains buffered errors https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105916 What|Removed

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #25 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:d826b6389d9605944ce2261c07d2c9515992bccf commit r15-4392-gd826b6389d9605944ce2261c07d2c9515992bccf Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-15 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #24 from Kamil Dudka --- (In reply to David Malcolm from comment #21) > (In reply to David Malcolm from comment #20) > > How about another option > > -fdiagnostics-set-output= > > that would work like > > -fdiagnostics-add-outpu

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #23 from David Malcolm --- (In reply to David Malcolm from comment #21) [...snip...] > > FWIW SARIF has a distinction between a "result" and a "notification" where > the former refer to the software under test, and the latter to the

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #22 from David Malcolm --- (In reply to David Malcolm from comment #18) [...snip...] > > I have work-in-progress patches that implement this as a new > -fdiagnostics-add-output= > option, but they're not yet ready to push upstream

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #21 from David Malcolm --- (In reply to David Malcolm from comment #20) > (In reply to Kamil Dudka from comment #19) [...snip...] > > Is there a better way to tell gcc to write all diagnostic messages only to > > the specified SARIF

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #20 from David Malcolm --- Created attachment 59344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59344&action=edit Generated HTML documentation (In reply to Kamil Dudka from comment #19) > Thank you for working on this! I r

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-14 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #19 from Kamil Dudka --- Thank you for working on this! I really like the gcc-latest COPR, which makes it easy to test the changes. I spotted that man pages installed by gcc-latest are broken but that is a cosmetic issue. I have h

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-11 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #18 from David Malcolm --- (In reply to Kamil Dudka from comment #16) > (In reply to David Malcolm from comment #15) > > (In reply to Kamil Dudka from comment #14) [...snip...] > > > Does the above support all your use-cases? > >

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #17 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:8d0de31c931ddacc03e8bd1ce6d89f517c62c7b3 commit r15-4229-g8d0de31c931ddacc03e8bd1ce6d89f517c62c7b3 Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-02 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #16 from Kamil Dudka --- (In reply to David Malcolm from comment #15) > (In reply to Kamil Dudka from comment #14) > > 1. Will `file=` work with absolute paths? > > Yes. There might be some issues with expressing paths/filenames co

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #15 from David Malcolm --- (In reply to Kamil Dudka from comment #14) > I think that the above described interface looks reasonable. A few > questions: Thanks for the feedback. > 1. Will `file=` work with absolute paths? Yes. Th

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-02 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #14 from Kamil Dudka --- I think that the above described interface looks reasonable. A few questions: 1. Will `file=` work with absolute paths? 2. If a file with the specified name exists, will it be overwritten? 3. Will the file a

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-10-01 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #13 from David Malcolm --- I'm experimenting with a new -fdiagnostics-add-output= with this rough grammar: : ":" key_value_pairs : "text" : "sarif"

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #12 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9c14f9a9c19957d9a45a7df97701bad475c80eea commit r15-3978-g9c14f9a9c19957d9a45a7df97701bad475c80eea Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #11 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e7a8fbe2fed83b5ce6e2bdb6fd66d9bf47f74db7 commit r15-3977-ge7a8fbe2fed83b5ce6e2bdb6fd66d9bf47f74db7 Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #10 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:be02253af810348be689cfa6f235af96c8cc5802 commit r15-3976-gbe02253af810348be689cfa6f235af96c8cc5802 Author: David Malcolm Date:

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #8 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:3d3d20ccd8365970f34002bfe0a632f2868bc95b commit r15-3974-g3d3d20ccd8365970f34002bfe0a632f2868bc95b Author: David Malcolm Date: M

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-23 Thread kdudka at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #7 from Kamil Dudka --- (In reply to Eric Gallager from comment #6) > Yeah, in particular, I'd want to send text to stdout while also sending > SARIF to a file that shares the input file's name, except with the .sarif > extension. (i

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-21 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #4 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:725231e16768bd9f16169b3b7e4cb5a98b251d1c commit r15-3750-g725231e16768bd9f16169b3b7e4cb5a98b251d1c Author: David Malcolm Date: F

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #5 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:39f7703fffee0c1a8aa999b29ae52b2a31903715 commit r15-3751-g39f7703fffee0c1a8aa999b29ae52b2a31903715 Author: David Malcolm Date: F

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:7da682c896f949259eaf820be17b5781df2cbead commit r15-3749-g7da682c896f949259eaf820be17b5781df2cbead Author: David Malcolm Date: F

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:37604edf37b3799e0203ede4dfa60d547322fdfc commit r15-3748-g37604edf37b3799e0203ede4dfa60d547322fdfc Author: David Malcolm Date: F

[Bug other/116613] RFE: support outputting diagnostics in *multiple* formats

2024-09-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116613 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:19363bf5564ffbe992265a1e69a0d99a0d29f016 commit r15-3554-g19363bf5564ffbe992265a1e69a0d99a0d29f016 Author: David Malcolm Date: M