diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2023-07-08 18:13:23 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2023-07-08 18:13:23 +0100 |
commit | 9a2eab6172a8067e2f63e0fa2bcd5b2190656303 (patch) | |
tree | aea3fbe89fd4abc3fc5a3b33b3871bbfb7282e91 /gcc/d/expr.cc | |
parent | 15bbf1826a01f5beb2d7c0f74d6270bbc94ece91 (diff) | |
download | gcc-9a2eab6172a8067e2f63e0fa2bcd5b2190656303.zip gcc-9a2eab6172a8067e2f63e0fa2bcd5b2190656303.tar.gz gcc-9a2eab6172a8067e2f63e0fa2bcd5b2190656303.tar.bz2 |
Fortran: Fix default type bugs in gfortran [PR99139, PR99368]
2023-07-08 Steve Kargl <sgk@troutmask.apl.washington.edu>
gcc/fortran
PR fortran/99139
PR fortran/99368
* match.cc (gfc_match_namelist): Check for host associated or
defined types before applying default type.
(gfc_match_select_rank): Apply default type to selector of
unknown type if possible.
* resolve.cc (resolve_fl_variable): Do not apply local default
initialization to assumed rank entities.
gcc/testsuite/
PR fortran/99139
* gfortran.dg/pr99139.f90 : New test
PR fortran/99368
* gfortran.dg/pr99368.f90 : New test
Diffstat (limited to 'gcc/d/expr.cc')
0 files changed, 0 insertions, 0 deletions