https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125315
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:9f42a810e6693a85ed312ca80854733daba75037 commit r17-520-g9f42a810e6693a85ed312ca80854733daba75037 Author: Jason Merrill <[email protected]> Date: Thu May 14 22:24:09 2026 -0400 c++: constexpr nested empty objects [PR125315] Here we have one empty subobject inside another; we didn't create a CONSTRUCTOR for the outer one, so we don't have it as context for the inner. PR c++/125315 gcc/cp/ChangeLog: * constexpr.cc (init_subob_ctx): Allow both ctor and object to be null for an empty subobject. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/no_unique_address16.C: New test.
