https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122628
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nathaniel Shead <[email protected]>: https://gcc.gnu.org/g:536ae8191fd28e580ed1e7ef848026a11923f513 commit r16-5143-g536ae8191fd28e580ed1e7ef848026a11923f513 Author: Nathaniel Shead <[email protected]> Date: Tue Nov 11 10:16:58 2025 +1100 c++/modules: Fix ICE in instantiating_tu_local_entity [PR122628] I'd missed a STRIP_TEMPLATE when attempting to query whether DECL was an imported entity. PR c++/122628 gcc/cp/ChangeLog: * module.cc (instantiating_tu_local_entity): Add missing STRIP_TEMPLATEs. gcc/testsuite/ChangeLog: * g++.dg/modules/internal-18.C: New test. Signed-off-by: Nathaniel Shead <[email protected]>
