[Bug fortran/99839] [9/10/11/12 Regression] ICE in inline_matmul_assign, at fortran/frontend-passes.c:4234
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 4 18:19:27 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99839
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:e912880888f9529eb44e3456c4753fc556c63812
commit r9-9568-ge912880888f9529eb44e3456c4753fc556c63812
Author: Harald Anlauf <anlauf@gmx.de>
Date: Fri Jun 4 19:23:48 2021 +0200
Fortran - ICE in inline_matmul_assign
Restrict inlining of matmul to those cases where assignment to the
result array does not need special treatment.
gcc/fortran/ChangeLog:
PR fortran/99839
* frontend-passes.c (inline_matmul_assign): Do not inline matmul
if the assignment to the resulting array if it is not of canonical
type (real/integer/complex/logical).
gcc/testsuite/ChangeLog:
PR fortran/99839
* gfortran.dg/inline_matmul_25.f90: New test.
(cherry picked from commit bee8619ad0ac3bd27b7c8dc5819b83a5e8e147a0)
More information about the Gcc-bugs
mailing list