https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94856
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- With the patch, minimal options are: g++ pr47218.ii -fno-tree-dse --param uninlined-function-insns=0 --param early-inlining-insns=3 -O2 -c