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 <fortran@gcc.gnu.org> 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 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 > > -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein