https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122690
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2025-11-18
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 62828
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62828&action=edit
gcc16-pr122690.patch
That said, here is an untested patch which looks just for triviality and
eligibility of the ctors and triviality and deletion of destructor, not on
their access.