https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105418
--- Comment #6 from Jiu Fu Guo <guojiufu at gcc dot gnu.org> --- (In reply to Jiu Fu Guo from comment #5) ... > This issue happens when calling debug_tree/decl_as_string manually inside > FE. At where overloaded functions (::new) are not resolved yet, and then > cause 'tsubst' to be called. > I see, it is not a good place to use debug_tree. Or add something in FE for it (not a must :)