https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005
--- Comment #4 from Andreas Schwab <sch...@linux-m68k.org> --- Except that those are not the failing assertions. sizeof(ranges::take_while_view<V, decltype (pred_l)>) and sizeof(ranges::transform_view<V, decltype (func_l)>) are both 10, probably because sizeof(pred_l) and sizeof(func_l) are 1, and padding is different.