https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126481
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppalka at gcc dot gnu.org
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to GCC Commits from comment #4)
> The trunk branch has been updated by Jason Merrill <[email protected]>:
>
> https://gcc.gnu.org/g:2a128109493455c4812d2b370327640dd62d29c0
>
> commit r17-2863-g2a128109493455c4812d2b370327640dd62d29c0
> Author: Jason Merrill <[email protected]>
> Date: Fri Jul 31 13:45:48 2026 -0400
>
> c++: early DMI parsing and {} [PR126481]
>
> Here I thought that only name lookup and use of 'this' could change in a
> complete class context, but this testcase demonstrates that an init-list
> also needs deferred parsing.
Could we also check the type of the field so that e.g. only non-scalar {} gets
deferred?