https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96355
Robert Douglas <rwdougla at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rwdougla at gmail dot com --- Comment #1 from Robert Douglas <rwdougla at gmail dot com> --- I've also hit this issue in upgrading from 9.1 to 10.2 I presume it run into the same issue, but if it helps, this more closely matches my use case: https://godbolt.org/z/zb1bP5