https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118930
Bug ID: 118930 Summary: sarif-replay doesn't output #include chains Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sarif-replay Assignee: dmalcolm at gcc dot gnu.org Reporter: dmalcolm at gcc dot gnu.org Target Milestone: --- We're capturing #include chains in our sarif output as of r15-2354-g4d1f71d49e396c. However, sarif-replay doesn't print them; see e.g.: https://github.com/davidmalcolm/sarif-examples/blob/main/valid/2.1.0/gcc/include-chain-1.c.sarif (and include-chain-2.c.sarif) For the former, current output is: /home/david/coding/work/src/gcc/testsuite/gcc.dg/sarif-output/include-chain-1-2.h:1:6: error: conflicting types for 'p'; have 'char' 1 | char p; | ^ /home/david/coding/work/src/gcc/testsuite/gcc.dg/sarif-output/include-chain-1-1.h:1:5: note: previous declaration of 'p' with type 'int' 1 | int p; | ^ /home/david/coding/work/src/gcc/testsuite/gcc.dg/sarif-output/include-chain-1-2.h:2:6: error: conflicting types for 'q'; have 'char' 2 | char q; | ^ /home/david/coding/work/src/gcc/testsuite/gcc.dg/sarif-output/include-chain-1-1.h:2:5: note: previous declaration of 'q' with type 'int' 2 | int q; | ^ when we should be showing "In file included from " messages.