https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102715
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:df2135e88a8f78c853b35246ad426b01b6d08378 commit r12-4973-gdf2135e88a8f78c853b35246ad426b01b6d08378 Author: Harald Anlauf <anl...@gmx.de> Date: Sat Nov 6 19:42:01 2021 +0100 Fortran: error recovery on rank mismatch of array and its initializer gcc/fortran/ChangeLog: PR fortran/102715 * decl.c (add_init_expr_to_sym): Reject rank mismatch between array and its initializer. gcc/testsuite/ChangeLog: PR fortran/102715 * gfortran.dg/pr68019.f90: Adjust error message. * gfortran.dg/pr102715.f90: New test.