[PR fortran/89516, patch] - ICE in gfc_calculate_transfer_sizes at gcc/fortran/check.c:5506

Harald Anlauf anlauf@gmx.de
Sat Mar 2 15:31:00 GMT 2019


Committed as rev. 269341 on trunk.

On 03/02/19 16:17, Thomas Koenig wrote:
> Hi Harald,
> 
>> Adding -Wsurprising as option to gfortran exercised a code path
>> that I hadn't seen when working on simplifications for the TRANSFER
>> intrinsic.  While regtesting, I realized that one of the checks was
>> too strict when the MOLD argument was scalar and of size 0 and should
>> only apply to array arguments.  I adjusted the corresponding testcase.
>>
>> Regtested on x86_64-pc-linux-gnu.
>>
>> OK for trunk?
> 
> OK.
> 
> Thanks for the patch!
> 
> Regards
> 
>     Thomas
> 



More information about the Fortran mailing list