[PATCH] libstdc++: add a workaround for format_kind<optional<T>> [PR120644]
Tomasz Kaminski
tkaminsk@redhat.com
Fri Jun 13 09:59:54 GMT 2025
LGTM, thanks.
It's interesting that having deduced the return type caused an issue.
On Fri, Jun 13, 2025 at 11:56 AM Giuseppe D'Angelo <
giuseppe.dangelo@kdab.com> wrote:
> Hi,
>
> Attached is a workaround for
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120644
>
> It looks it's a C++ frontend bug, this commit just silences the
> regression in the modules testsuite that have been observed after the
> introduction of range support for optional in r16-1487-g774ae8734f0e19.
> The semantic of the code is otherwise equivalent -- the underlying bug
> is not addressed by this.
>
>
> Thank you,
>
> --
> Giuseppe D'Angelo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250613/9e7d6ff5/attachment.htm>
More information about the Libstdc++
mailing list