https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64932
--- Comment #4 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> --- Dear All, It would be nice to commit this tonight, if possible. An impetus to do this is added by Dominique pointing out that it fixes PRs 59765, 60529 and 61766! Cheers Paul On 7 February 2015 at 12:23, pault at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64932 > > Paul Thomas <pault at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |pault at gcc dot gnu.org > Assignee|unassigned at gcc dot gnu.org |pault at gcc dot > gnu.org > > --- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- > Created attachment 34691 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34691&action=edit > Patch for the PR > > class.c(finalize_component) is not able to deal correctly with non-allocatable > derived type array components that have finalizable components. Rather than > generating loops in finalize_component, I detected the condition in > trans-stmt.c(gfc_trans_deallocate) and have called gfc_deallocate_alloc_comp > after obtaining the derived type for the array. > > Happily, this fix does not generate the error: > Error: Two or more part references with nonzero rank must not be specified at > (1) > > which occurs if the code is written explicitly. > > Bootstraps and regtests on FC21/x_86_64 > > OK for trunk? > > Paul > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.