[Bug fortran/105633] ICE in find_array_section, at fortran/expr.cc:1582
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 20 20:20:56 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105633
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:ecb20df4fa6d99daa635c7fb662dc0554610777e
commit r13-3421-gecb20df4fa6d99daa635c7fb662dc0554610777e
Author: Harald Anlauf <anlauf@gmx.de>
Date: Wed Oct 19 22:37:56 2022 +0200
Fortran: error recovery with references of bad array constructors
[PR105633]
gcc/fortran/ChangeLog:
PR fortran/105633
* expr.cc (find_array_section): Move check for NULL pointers so
that both subscript triplets and vector subscripts are covered.
gcc/testsuite/ChangeLog:
PR fortran/105633
* gfortran.dg/pr105633.f90: New test.
Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
More information about the Gcc-bugs
mailing list