https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125315
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Han Wang from comment #6)
> A similar case could be found here: https://godbolt.org/z/h44h5h7d9
Thanks, that testcase is also fixed by the patch.
Fixed for 17/16.2/15.3/14.4 (since I just backported the patch that broke
this).