This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix memory corruption in LTO


On 10-07-26 12:24 , Jan Hubicka wrote:
Hi,
Andi's changes introduced heap allocated object pointed from lto_file_data, so
we now ICE on everything big enough to trigger garbage collector at WPA stage.
Andi: this solves the cgraph hash table ICE you sent me

Bootstrapping/regtesting x86_64-linux, OK?
Honza

* lto-streamer.h (struct lto_file_decl_data): Mark resolutions with GTY((skip))

Would it make more sense to change the allocation on the resolutions field?



Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]