https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98284
--- Comment #4 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:5098d35fb1997aa6fd6d7e37d0fd4501a5fe2f9d commit r11-6149-g5098d35fb1997aa6fd6d7e37d0fd4501a5fe2f9d Author: Harald Anlauf <anl...@gmx.de> Date: Wed Dec 16 17:25:06 2020 +0100 PR fortran/98284 - ICE in get_array_index Reject DATA elements with the ALLOCATABLE attribute also when they are components of a derived type. gcc/fortran/ChangeLog: PR fortran/98284 * resolve.c (check_data_variable): Reject DATA elements with the ALLOCATABLE attribute. gcc/testsuite/ChangeLog: PR fortran/98284 * gfortran.dg/pr98284.f90: New test.