https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117667
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-11-19 Status|UNCONFIRMED |WAITING --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect the bug is in the build system you are using. In that "-fanalyzer -fdiagnostics-format=sarif-file" is being added to the compile phase rather than both the compile and link phases. Can you double check if "-fanalyzer -fdiagnostics-format=sarif-file" is on the link line? If Not then this is not a GCC bug.