diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-01-24 22:36:25 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-01-28 22:00:38 +0100 |
commit | 22afa4947584c701633a79fd8750c9ceeaa96711 (patch) | |
tree | 0ad3fd13f8d8659b748cd4c7f1a1d347111a9444 /gcc/tree-ssa-phiopt.cc | |
parent | aba9ff8f30d4245294ea2583de1dc28f1c7ccf7b (diff) | |
download | gcc-22afa4947584c701633a79fd8750c9ceeaa96711.zip gcc-22afa4947584c701633a79fd8750c9ceeaa96711.tar.gz gcc-22afa4947584c701633a79fd8750c9ceeaa96711.tar.bz2 |
Fortran: fix ICE in compare_bound_int [PR108527]
gcc/fortran/ChangeLog:
PR fortran/108527
* resolve.cc (compare_bound_int): Expression to compare must be of
type INTEGER.
(compare_bound_mpz_t): Likewise.
(check_dimension): Fix comment on checks applied to array section
and clean up associated logic.
gcc/testsuite/ChangeLog:
PR fortran/108527
* gfortran.dg/pr108527.f90: New test.
Co-authored-by: Steven G. Kargl <kargl@gcc.gnu.org>
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions