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

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

This fixes the testcase and, indeed, some more elaborate versions. However,
coarray_allocate_5.f08 with the type 'foo' declared in a module offends gimple
horribly. It appears that the vtable is completely screwed up such that
accessing 'copy' gets 'def_init' instead.

That said, this does at least regtest OK.

Paul

Reply via email to