https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434

--- Comment #13 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 60052
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60052&action=edit
Fix for this PR

Hi Harald,

This version gets rid of the invalid reads. Originally it lost extra memory:
definitely lost: 7,632 bytes in 12 blocks - all from
class.cc(generate_finalization_wrapper). The use of the error flag gets rid of
that.

Gerhard has reported no fewer than 33 regression, many of which are error
recovery. Before submitting this patch to the list, I will take a look through
tem to see if there are others needing a similar fix.

Paul

BTW The attached patch regression tests OK :-)

Reply via email to