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