https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117107
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:7de78f7353f125663a22f5514159ea966a120049 commit r14-10826-g7de78f7353f125663a22f5514159ea966a120049 Author: Jason Merrill <ja...@redhat.com> Date: Tue Oct 22 16:37:49 2024 -0400 c++: non-dep structured binding decltype again [PR117107] The patch for PR92687 handled the usual case of a decomp variable not being in the table, but missed the case of there being nothing in the table yet. PR c++/117107 PR c++/92687 gcc/cp/ChangeLog: * decl.cc (lookup_decomp_type): Handle null table. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/decomp10.C: New test. (cherry picked from commit 71e13ea134b04562f8f2cdd9c4a55dbb0905f96a)