https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92687
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:71e13ea134b04562f8f2cdd9c4a55dbb0905f96a commit r15-4557-g71e13ea134b04562f8f2cdd9c4a55dbb0905f96a 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.