[BUG]: filtering for the gcc optimization dumps makes things hard to handle
Author: pinskiaCreated Sep 11, 2026Updated Sep 11, 2026
Labelsbug
Describe the bug
I am trying to debug why we get a specific IR from the source and the before inlining dumps remove all of the non-user functions from the listing. This is very useless. Please have an option to disable this.
Also don't enable lineno by default and then filter it off; that leaves behind other artifacts in the dump that makes it hard to understand still.
Steps to reproduce
Take:
#include <vector>
void ff(std::vector<int> &a)
{
a.push_back(1);
}Expected behavior
Seeing more than just ff in the forwprop1 dump (pre-inlining). That is seeing push_back and other libstdc++ functions.
Reproduction link
https://godbolt.org/z/h556jx94o
Screenshots
Not applicable
Operating System
No response
Browser version
No response
Source: compiler-explorer/compiler-explorer