https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108454
--- Comment #3 from anlauf at gcc dot gnu.org --- Created attachment 60322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60322&action=edit Patch part 1 This fixes the memory corruption due to false freeing of the symbol during resolution. To be done: reject invalid testcase z4.