Hello Thomas, LGTM. OK for mainlining and backporting.
Thanks for the patch. Paul On Sun, 26 Jul 2026 at 12:03, Thomas Koenig <[email protected]> wrote: > Hello world, > > What it says in the ChangeLog. > > Regression-tested. OK for trunk and backport? (This should be one of the > safest backports ever :-) > > Bets regards > > Thomas > > Fix size calculation for reallocation for matmul of rank 2 a and rank 1 b. > > This is a rather simple one-character (well, two-bit) fix for th > calculation of the size of the reallocation of the LHS if that > is allocatable. > > gcc/fortran/ChangeLog: > > PR fortran/126386 > * frontend-passes.cc (matmul_lhs_realloc): > > gcc/testsuite/ChangeLog: > > PR fortran/126386 > * gfortran.dg/inline_matmul_28.f90: New test. >
