diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-01-16 21:30:56 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-01-17 19:35:17 +0100 |
commit | a75760374ee54768e5fd6a27080698bfbbd041ab (patch) | |
tree | ee9ec4885db6f9a8a56905de13d9a647f3b91626 /gcc/go | |
parent | 6d80690132a2f00fae1f619d4ffd950ce8cfdbc7 (diff) | |
download | gcc-a75760374ee54768e5fd6a27080698bfbbd041ab.zip gcc-a75760374ee54768e5fd6a27080698bfbbd041ab.tar.gz gcc-a75760374ee54768e5fd6a27080698bfbbd041ab.tar.bz2 |
Fortran: fix ICE in get_expr_storage_size [PR108421]
gcc/fortran/ChangeLog:
PR fortran/108421
* interface.cc (get_expr_storage_size): Check that we actually have
an integer value before trying to extract it with mpz_get_si.
gcc/testsuite/ChangeLog:
PR fortran/108421
* gfortran.dg/pr108421.f90: New test.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions