diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-01-23 21:19:03 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-01-23 21:19:03 +0100 |
commit | 771d793df1622a476e1cf8d05f0a6aee350fa56b (patch) | |
tree | 68133948b37972c934f82451c2da769a96575bc2 /ChangeLog | |
parent | e6669c0a50ed8aee9e5997d61e6271668d149218 (diff) | |
download | gcc-771d793df1622a476e1cf8d05f0a6aee350fa56b.zip gcc-771d793df1622a476e1cf8d05f0a6aee350fa56b.tar.gz gcc-771d793df1622a476e1cf8d05f0a6aee350fa56b.tar.bz2 |
Fortran: avoid ICE on invalid array subscript triplets [PR108501]
gcc/fortran/ChangeLog:
PR fortran/108501
* interface.cc (get_expr_storage_size): Check array subscript triplets
that we actually have integer values before trying to extract with
mpz_get_si.
gcc/testsuite/ChangeLog:
PR fortran/108501
* gfortran.dg/pr108501.f90: New test.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions