aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2020-05-30 20:59:41 +0200
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:09:25 -0300
commitb65ae63e97ca8a4487d22c7321e8a2e8580228fd (patch)
treeddd2ac41cae61cad34cb79264acfb2969e4798d0 /gcc/gimple-array-bounds.cc
parentd0012ce634dcc89cf045f8324fc3df77f53fa719 (diff)
downloadgcc-b65ae63e97ca8a4487d22c7321e8a2e8580228fd.zip
gcc-b65ae63e97ca8a4487d22c7321e8a2e8580228fd.tar.gz
gcc-b65ae63e97ca8a4487d22c7321e8a2e8580228fd.tar.bz2
PR fortran/95373 - ICE in build_reference_type, at tree.c:7942
The use of KIND, LEN, RE, and IM inquiry references for applicable intrinsic types is valid only for suffienctly new Fortran standards. Add appropriate checks in the appropriate place. 2020-05-30 Harald Anlauf <anlauf@gmx.de> gcc/fortran/ PR fortran/95373 * primary.c (is_inquiry_ref): Move validity check of inquiry references against selected Fortran standard from here... (gfc_match_varspec) ...to here. gcc/testsuite/ PR fortran/95373 * gfortran.dg/pr95373_1.f90: Adjust error messages. * gfortran.dg/pr95373_2.f90: Adjust error message.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions