https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97593
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>: https://gcc.gnu.org/g:aa701610e51ca9e15573ba080cb93ef726252cfc commit r11-4572-gaa701610e51ca9e15573ba080cb93ef726252cfc Author: Jan Hubicka <j...@suse.cz> Date: Fri Oct 30 14:30:43 2020 +0100 Fix thunk info WRT PCH PR pch/97593 * cgraph.c (cgraph_node::create_thunk): Register thunk as early during parsing. * cgraphunit.c (analyze_functions): Call thunk_info::process_early_thunks. * symtab-thunks.cc (struct unprocessed_thunk): New struct. (thunks): New static variable. (thunk_info::register_early): New member function. (thunk_info::process_early_thunks): New member function. * symtab-thunks.h (thunk_info::register_early): Declare. (thunk_info::process_early_thunks): Declare.