diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-06-20 20:59:55 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-06-26 22:01:49 +0200 |
commit | a312407bd715647f7c11b67e0a52effc94d0f15d (patch) | |
tree | 959a183bd9b7a040e8410e88798bdacbacbd7b72 /gcc/fortran/simplify.cc | |
parent | ff01849dccd4355ac6491c04eff8b2e39ecee70e (diff) | |
download | gcc-a312407bd715647f7c11b67e0a52effc94d0f15d.zip gcc-a312407bd715647f7c11b67e0a52effc94d0f15d.tar.gz gcc-a312407bd715647f7c11b67e0a52effc94d0f15d.tar.bz2 |
Fortran: handle explicit-shape specs with constant bounds [PR105954]
gcc/fortran/ChangeLog:
PR fortran/105954
* decl.cc (variable_decl): Adjust upper bounds for explicit-shape
specs with constant bound expressions to ensure non-negative
extents.
gcc/testsuite/ChangeLog:
PR fortran/105954
* gfortran.dg/pr105954.f90: New test.
Diffstat (limited to 'gcc/fortran/simplify.cc')
0 files changed, 0 insertions, 0 deletions