diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-08-31 22:19:58 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-09-01 22:25:20 +0200 |
commit | 6f06152541d62ae7c8579b7d7bf552be19e15b05 (patch) | |
tree | d2807d4c8e124754ad854ec32d784d26cf97429c /gcc/tree-inline.h | |
parent | e7b267444045c507654a2a3f758efee5d5b550df (diff) | |
download | gcc-6f06152541d62ae7c8579b7d7bf552be19e15b05.zip gcc-6f06152541d62ae7c8579b7d7bf552be19e15b05.tar.gz gcc-6f06152541d62ae7c8579b7d7bf552be19e15b05.tar.bz2 |
Fortran: runtime bounds-checking in presence of array constructors [PR31059]
gcc/fortran/ChangeLog:
PR fortran/31059
* trans-array.cc (gfc_conv_ss_startstride): For array bounds checking,
consider also array constructors in expressions, and use their shape.
gcc/testsuite/ChangeLog:
PR fortran/31059
* gfortran.dg/bounds_check_fail_5.f90: New test.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions