https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124794
--- Comment #4 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:49f5c9a9b31c10f330bf0f8d804bc24633aade2b commit r17-1260-g49f5c9a9b31c10f330bf0f8d804bc24633aade2b Author: Jason Merrill <[email protected]> Date: Wed Jun 3 08:40:53 2026 -0400 c++/reflection: template splicing tweak Discussion of the 124794 patch observed that access_path can be null if object_type isn't derived from scope, which means building a nonsensical BASELINK with null BASELINK_BINFO. PR c++/124794 gcc/cp/ChangeLog: * parser.cc (cp_parser_splice_specifier): Use TYPE_BINFO (scope) for not-derived case. * search.cc (build_baselink): Assert that binfos aren't null.
