[PATCH] PR fortran/104311 - [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-01 Thread Harald Anlauf via Gcc-patches
Dear Fortranners, a check in gfc_calculate_transfer_sizes had a bug in the logic: it did not trigger for MOLD having a storage size zero when arugment SIZE was present. The attached obvious patch fixes this. Regtested on x86_64-pc-linux-gnu. OK for mainline/11/10/9? Thanks, Harald From b8f124

Re: [PATCH] PR fortran/104311 - [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-03 Thread Paul Richard Thomas via Gcc-patches
Hi Harald, Indeed, this is obvious, as you say. OK for the affected branches. Regards Paul On Tue, 1 Feb 2022 at 22:38, Harald Anlauf via Fortran wrote: > Dear Fortranners, > > a check in gfc_calculate_transfer_sizes had a bug in the logic: > it did not trigger for MOLD having a storage size