https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94414
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- It looks the memoization that's performed in filter_view::begin() is interfering with optimization in the first testcase.