[Bug fortran/93603] [10 Regression] ICE in gfc_typenode_for_spec, at fortran/trans-types.c:1201
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 12:26:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93603
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Mark Eggleston
<markeggleston@gcc.gnu.org>:
https://gcc.gnu.org/g:8f55a0eec910dd02992f4caca083048d91c0b2e1
commit r10-6692-g8f55a0eec910dd02992f4caca083048d91c0b2e1
Author: Mark Eggleston <markeggleston@gcc.gnu.org>
Date: Tue Feb 18 12:23:20 2020 +0000
[Fortran] ICE in gfc_typenode_for_spec PR93603
Associating a symbol with a BOZ constant caused an ICE. Output
an error message as an association target cannot be a BOZ
constant.
Original patch provided by Steven G. Kargl <kargl@gcc.gnu.org>.
gcc/fortran/ChangeLog
PR fortran/93603
* match.c (gfc_match_associate) : If target expression
has the type BT_BOZ output an error and goto
assocListError.
gcc/testsuite/ChangeLog
PR fortran/93603
* gfortran.dg/pr93603.f90 : New test.
More information about the Gcc-bugs
mailing list