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

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 42962
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42962&action=edit
A partial fix for the PR

The attached patch clears the ICE and yields the correct result. However, there
is still a memory leak because the automatically allocated parameterized
component 'foo' of 'w' is not freed before the call to addw.

I'll complete the fix, as soon as my tree is cleared of the fix for another PR
that I am working on.

Cheers

Paul

Reply via email to