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

--- Comment #5 from paul.richard.thomas at gmail dot com <paul.richard.thomas 
at gmail dot com> ---
Hi Janus,

That's wierd. I don't see any final call output with any of the
branches, going back to 6-branch.

I am also puzzled by the lack of calls, given that the finalization
wrapper appears in the tree dump.

I have marked this thread as "unread" so that I can pick this up when
I return from my week's break in Wales.

Regards

Paul


On 21 September 2018 at 22:15, janus at gcc dot gnu.org
<gcc-bugzi...@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87270
>
> --- Comment #4 from janus at gcc dot gnu.org ---
> (In reply to Paul Thomas from comment #3)
>> It seems that finalization has never occurred with any branch for this case,
>
> I don't fully agree with this statement.
>
> Apart from the fact that gfortran 8 with -O1 produces output like "cleanup:
> check 1", it also seems that even trunk (in principle) calls the finalizer. At
> least the output of -fdump-tree-original indicates that MAIN__ contains two
> calls to '__final_module1_Class1', i.e. the finalization wrapper for the type
> 'class1', which in turn calls the actual finalizer routine.
>
> Why an executable compiled with gfortran trunk does not show any of the output
> from the final routine is not clear to me.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.

Reply via email to