[Bug fortran/104211] ICE in find_array_section, at fortran/expr.cc:1720
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 16 21:35:45 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104211
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:3982a308e669cc5537322c83e8c2d49b0144297e
commit r11-9579-g3982a308e669cc5537322c83e8c2d49b0144297e
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu Feb 10 21:22:48 2022 +0100
Fortran: improve error recovery on bad array section
gcc/fortran/ChangeLog:
PR fortran/104211
* expr.c (find_array_section): Replace assertion by error
recovery when encountering bad array constructor.
gcc/testsuite/ChangeLog:
PR fortran/104211
* gfortran.dg/pr104211.f90: New test.
(cherry picked from commit 19b517dff37b8e25f6babf8883483be73cad8fb3)
More information about the Gcc-bugs
mailing list