Re: Fix thunk_info with PCH

2020-10-29 Thread Jeff Law via Gcc-patches
On 10/29/20 3:32 PM, Jan Hubicka wrote: > Hi, > symbol summaries are not PCH safe and thus thunk_info summary can not be > created before parsing is finished. This patch stores thunk infos into > a vector before they are attachd to actual symbol nodes at symtab > construction time. > > I am not

Fix thunk_info with PCH

2020-10-29 Thread Jan Hubicka
Hi, symbol summaries are not PCH safe and thus thunk_info summary can not be created before parsing is finished. This patch stores thunk infos into a vector before they are attachd to actual symbol nodes at symtab construction time. I am not sure how to add the testcase - I did not find similar o