compiler-explorer / compiler-explorer/compiler-explorer
[REQUEST]: GCC graph dump vizualization
- Dominant language
- TypeScript
- Stars
- 19.1k
- Forks
- 2.1k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 67
Description
### Is your feature request related to a problem? Please describe
I would like to be able to view the graph visualizations of GCC intermediate representations from pass dumps on CE.
### Describe the solution you'd like
I would like there to be a "view control flow graph" button when viewing a pass dump that opens a pane with the graphviz output of the `.dot` file generated by adding the `-fdump-tree--graph` option (though also for -fdump-rtl-... and similar)
Example graph converted to an SVG below.

### Describe alternatives you've considered
N/A
### Additional context
Not applicable
Contributor guide
Research direction
Start at the pass-dump viewer and trace how GCC tree and RTL dump outputs are exposed. Check how the generated .dot data could be represented alongside the SVG example. Done means a “view control flow graph” control opens a pane for graph output from tree, RTL, and similar pass dumps.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100