diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-12-17 22:04:32 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-12-23 22:23:10 +0100 |
commit | 6a95f0e0a06d78d94138d4c3dd64d41591197281 (patch) | |
tree | 223e54217b2a9224018047fada3b7b188382ace2 /libiberty | |
parent | cf59c8983ef6590f0d69014f8dc8778b5b7691c6 (diff) | |
download | gcc-6a95f0e0a06d78d94138d4c3dd64d41591197281.zip gcc-6a95f0e0a06d78d94138d4c3dd64d41591197281.tar.gz gcc-6a95f0e0a06d78d94138d4c3dd64d41591197281.tar.bz2 |
Fortran: incorrect array bounds when bound intrinsic used in decl [PR108131]
gcc/fortran/ChangeLog:
PR fortran/108131
* array.cc (match_array_element_spec): Avoid too early simplification
of matched array element specs that can lead to a misinterpretation
when used as array bounds in array declarations.
gcc/testsuite/ChangeLog:
PR fortran/108131
* gfortran.dg/pr103505.f90: Adjust expected patterns.
* gfortran.dg/pr108131.f90: New test.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions