https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125315
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:92f35736ebf9c6d24622e129c5ebac71bafcedd5 commit r15-11170-g92f35736ebf9c6d24622e129c5ebac71bafcedd5 Author: Jason Merrill <[email protected]> Date: Fri May 15 01:14:55 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. (cherry picked from commit 9f42a810e6693a85ed312ca80854733daba75037)
