[Patch, Fortran, OOP] PR 79311: ICE in generate_finalization_wrapper, at fortran/class.c:1992

Jerry DeLisle jvdelisle@charter.net
Tue May 9 16:18:00 GMT 2017


On 05/08/2017 02:16 PM, Janus Weil wrote:
> Hi all,
> 
> the attached patch fixes an ICE-on-valid problem with finalization by
> making sure that the finalization procedures are properly resolved.
> 
> In the test case, the finalizer of the component type was not being
> resolved if the superordinate type had a finalizer itself.
> 
> The patch also fixes a small error that had no actual impact on the
> test case ('has_final2' could never become true).
> 
> Regtesting went well, except for these three failure which also seems
> to occur on a clean trunk currently:
> 
> FAIL: gfortran.dg/coarray_lock_7.f90   -O   scan-tree-dump-times original
> FAIL: gfortran.dg/coarray_lock_7.f90   -O   scan-tree-dump-times original
> FAIL: gfortran.dg/mvbits_7.f90   -O0   (test for warnings, line 28)
> 
> Ok for trunk?
> 
> Cheers,
> Janus
> 

Yes Ok and thanks for patch. The lock_7 is fixed today and I did not see the
mvbits fail yesterday. Regardlessm unrelated.

Cheers,

Jerry



More information about the Fortran mailing list