aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2021-01-14 19:13:16 +0100
committerHarald Anlauf <anlauf@gmx.de>2021-01-14 19:13:16 +0100
commitd0d2becf2dfe8316c9014d962e7f77773ec5c27e (patch)
tree8e997315d27a99cc129b19864c2b5ecd6f2ad840 /gcc/cppdefault.c
parent9ac3e2feb3da89eda7a783d2c675ec897e81b338 (diff)
downloadgcc-d0d2becf2dfe8316c9014d962e7f77773ec5c27e.zip
gcc-d0d2becf2dfe8316c9014d962e7f77773ec5c27e.tar.gz
gcc-d0d2becf2dfe8316c9014d962e7f77773ec5c27e.tar.bz2
PR fortran/98661 - valgrind issues with error recovery
During error recovery after an invalid derived type specification it was possible to try to resolve an invalid array specification. We now skip this if the component has the ALLOCATABLE or POINTER attribute and the shape is not deferred. gcc/fortran/ChangeLog: PR fortran/98661 * resolve.c (resolve_component): Derived type components with ALLOCATABLE or POINTER attribute shall have a deferred shape. gcc/testsuite/ChangeLog: PR fortran/98661 * gfortran.dg/pr98661.f90: New test.
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions