[Bug fortran/102715] [12 Regression] ICE in gfc_simplify_transpose, at fortran/simplify.c:8184 since r12-4278-g74ccca380cde5e79

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 13 20:15:11 GMT 2021


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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:5625599e6f23622447418e6cbfcc080ecd0f2c28

commit r10-10269-g5625599e6f23622447418e6cbfcc080ecd0f2c28
Author: Harald Anlauf <anlauf@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.

    (cherry picked from commit df2135e88a8f78c853b35246ad426b01b6d08378)


More information about the Gcc-bugs mailing list