[Bug fortran/87597] [7/8/9 Regression] wrong result with matmul inlining
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597 Thomas Koenig changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Thomas Koenig --- I took the liberty of backporting because the release of 8.3 will be rather soon (if it occurs on time), and I wanted this patch in. Tobias, I hope you don't mind. Therefore fixed on all open branches, closing.
[Bug fortran/87597] [7/8/9 Regression] wrong result with matmul inlining
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597 --- Comment #11 from Thomas Koenig --- Author: tkoenig Date: Sat Nov 3 14:49:33 2018 New Revision: 265769 URL: https://gcc.gnu.org/viewcvs?rev=265769&root=gcc&view=rev Log: 2019-11-03 Tobias Burnus Thomas Koenig Backport from trunk PR fortran/87597 * expr.c (gfc_simplify_expr): Avoid simplifying the 'array' argument to lbound/ubound/lcobound/ ucobound. 2018-11-03 Tobias Burnus Thomas Koenig Backport from trunk PR fortran/87597 * gfortran.dg/inline_matmul_24.f90: New. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/expr.c branches/gcc-7-branch/gcc/testsuite/ChangeLog
[Bug fortran/87597] [7/8/9 Regression] wrong result with matmul inlining
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597 --- Comment #10 from Thomas Koenig --- Author: tkoenig Date: Sat Nov 3 12:16:34 2018 New Revision: 265768 URL: https://gcc.gnu.org/viewcvs?rev=265768&root=gcc&view=rev Log: 2019-11-03 Tobias Burnus Thomas Koenig Backport from trunk PR fortran/87597 * expr.c (gfc_simplify_expr): Avoid simplifying the 'array' argument to lbound/ubound/lcobound/ ucobound. 2018-11-03 Tobias Burnus Thomas Koenig Backport from trunk PR fortran/87597 * gfortran.dg/inline_matmul_24.f90: New. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/inline_matmul_24.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/expr.c branches/gcc-8-branch/gcc/testsuite/ChangeLog
[Bug fortran/87597] [7/8/9 Regression] wrong result with matmul inlining
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597 --- Comment #9 from janus at gcc dot gnu.org --- Tobias, are you going to backport the fix to the release branches? Jakub's comment 8 sounds like it might already be too late for 6.5, but it would be great to have this at least on the 7 and 8 branches!