[Patch, Fortran, OOP] PR 79311: ICE in generate_finalization_wrapper, at fortran/class.c:1992
Janus Weil
janus@gcc.gnu.org
Tue May 9 20:59:00 GMT 2017
2017-05-09 18:18 GMT+02:00 Jerry DeLisle <jvdelisle@charter.net>:
> 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?
>
> Yes Ok and thanks for patch.
Thanks, Jerry. Committed as r247818.
Cheers,
Janus
More information about the Fortran
mailing list