Fix fortran/85982 ICE in resolve_component.
authorFritz Reese <foreese@gcc.gnu.org>
Thu, 2 Apr 2020 17:50:11 +0000 (13:50 -0400)
committerFritz Reese <foreese@gcc.gnu.org>
Thu, 2 Apr 2020 17:50:11 +0000 (13:50 -0400)
commit0cd74f3588928e22c08003c643c91340f555785e
tree386c43fde7ab6c62a0f116de465f979b7cca98df
parent3ab216a4d2f14be1f37350260142c91fabce834a
Fix fortran/85982 ICE in resolve_component.

2020-04-01  Fritz Reese  <foreese@gcc.gnu.org>

PR fortran/85982
* fortran/decl.c (match_attr_spec): Lump COMP_STRUCTURE/COMP_MAP into
attribute checking used by TYPE.

2020-04-01  Fritz Reese  <foreese@gcc.gnu.org>

PR fortran/85982
* gfortran.dg/dec_structure_28.f90: New test.
gcc/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dec_structure_28.f90 [new file with mode: 0644]