diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2024-04-18 18:07:25 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2024-04-18 18:07:25 +0100 |
commit | e243d0feafa533141ef7e23820d5cc60cf33204a (patch) | |
tree | 0fb04358d39059b1bec080ac5ec34821370f5fe6 /gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c | |
parent | 7eecc08ccf75679e6ae688d92e50afae935547ab (diff) |
Fortran: Fix ICE and clear incorrect error messages [PR114739]
2024-04-18 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/114739
* primary.cc (gfc_match_varspec): Check for default type before
checking for derived types with the right component name.
gcc/testsuite/
PR fortran/114739
* gfortran.dg/pr114739.f90: New test.
* gfortran.dg/derived_comp_array_ref_8.f90: Add 'implicit none'
for consistency with expected error message.
* gfortran.dg/nullify_4.f90: ditto
* gfortran.dg/pointer_init_6.f90: ditto
* gfortran.dg/pr107397.f90: ditto
* gfortran.dg/pr88138.f90: ditto
Diffstat (limited to 'gcc/testsuite/gcc.target/powerpc/swaps-p8-20.c')
0 files changed, 0 insertions, 0 deletions