[Bug fortran/87597] [6/7/8/9 Regression] wrong result with matmul inlining

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 12 18:18:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87597

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Author: burnus
Date: Fri Oct 12 18:18:13 2018
New Revision: 265126

URL: https://gcc.gnu.org/viewcvs?rev=265126&root=gcc&view=rev
Log:
Fix off-by-one issue with inline matmul

        PR fortran/87597
        * expr.c (gfc_simplify_expr): Avoid simplifying
        the 'array' argument to lbound/ubound/lcobound/
        ucobound.

        PR fortran/87597
        * gfortran.dg/inline_matmul_24.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/inline_matmul_24.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list