[Bug fortran/95373] [9/10/11 Regression] ICE in build_reference_type, at tree.c:7942
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 21:03:49 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95373
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:d7760318305a0eab43d59d9884486569409c2d52
commit r10-8256-gd7760318305a0eab43d59d9884486569409c2d52
Author: Harald Anlauf <anlauf@gmx.de>
Date: Thu May 28 22:28:08 2020 +0200
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
check.
2020-05-28 Harald Anlauf <anlauf@gmx.de>
gcc/fortran/
PR fortran/95373
* primary.c (is_inquiry_ref): Check validity of inquiry
references against selected Fortran standard.
gcc/testsuite/
PR fortran/95373
* gfortran.dg/pr95373_1.f90: New test.
* gfortran.dg/pr95373_2.f90: New test.
(cherry picked from commit 5c715e6a2990cfb6c15acc1ee14219523534ec69)
More information about the Gcc-bugs
mailing list