https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124324
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Marek Polacek <[email protected]>: https://gcc.gnu.org/g:40ee8d4e9f95a2217c1e0d72477522f98807f118 commit r16-7867-g40ee8d4e9f95a2217c1e0d72477522f98807f118 Author: Marek Polacek <[email protected]> Date: Mon Mar 2 10:42:29 2026 -0500 c++/reflection: static member template operator [PR124324] This testcase didn't compile properly because eval_is_function and eval_extract got an unresolved TEMPLATE_ID_EXPR. We used to resolve them in process_metafunction but I removed that call, thinking it was no longer necessary. This patch puts it in eval_substitute which should cover it. PR c++/124324 gcc/cp/ChangeLog: * reflect.cc (eval_substitute): Call resolve_nondeduced_context. gcc/testsuite/ChangeLog: * g++.dg/reflect/extract11.C: New test. Reviewed-by: Jason Merrill <[email protected]>
