https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- The fix would be changing the constraint to: _Extent == dynamic_extent || _Extent == 0
redi at gcc dot gnu.org via Gcc-bugs Fri, 06 Jan 2023 17:25:31 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- The fix would be changing the constraint to: _Extent == dynamic_extent || _Extent == 0