https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85084
--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Wed Mar 28 17:41:51 2018 New Revision: 258927 URL: https://gcc.gnu.org/viewcvs?rev=258927&root=gcc&view=rev Log: 2018-03-28 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/85084 Backport from trunk. * frontend-passes.c (gfc_run_passes): Do not run front-end optimizations if a previous error occurred. 2018-03-28 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/85084 Backport from trunk. * gfortran.dg/matmul_rank_1.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/matmul_rank_1.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/frontend-passes.c branches/gcc-6-branch/gcc/testsuite/ChangeLog