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

Thomas Koenig tkoenig@netcologne.de
Sat Mar 2 15:17:00 GMT 2019


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 Gcc-patches mailing list