https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121445
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 62858
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62858&action=edit
gcc16-pr121445.patch
Untested fix. Another way to fix this would be mark the INIT_EXPRs created for
member initializers with some lang flag and only look at INIT_EXPRs with such
a lang flag in this function.