https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102425
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed for 9.5 too, thanks for the report.
This also prompted https://wg21.link/lwg3598
