[Bug fortran/83076] [8 Regression] ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 27 19:21:00 GMT 2017


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


More information about the Gcc-bugs mailing list