[Bug fortran/102520] [10/11/12 Regression] ICE in expand_constructor, at fortran/array.c:1802
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 30 18:12:09 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520
--- Comment #6 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:f653f612a95ab9d54e005fba7ac6bb40ec14ffb9
commit r10-10155-gf653f612a95ab9d54e005fba7ac6bb40ec14ffb9
Author: Harald Anlauf <anlauf@gmx.de>
Date: Wed Sep 29 20:11:53 2021 +0200
Fortran: fix error recovery for invalid constructor
gcc/fortran/ChangeLog:
PR fortran/102520
* array.c (expand_constructor): Do not dereference NULL pointer.
gcc/testsuite/ChangeLog:
PR fortran/102520
* gfortran.dg/pr102520.f90: New test.
(cherry picked from commit 5e2adfeed21ee584a82cdcdfa7eed41202eb67cd)
More information about the Gcc-bugs
mailing list