diff options
author | Harald Anlauf <anlauf@gmx.de> | 2021-09-09 21:34:01 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2021-09-09 21:34:01 +0200 |
commit | 5fe0865ab788bdc387b284a3ad57e5a95a767b18 (patch) | |
tree | 8f852312b8b5c3042d89dbf8c7ecee5f2d838b70 /gcc/testsuite/c-c++-common/auto-init-padding-2.c | |
parent | de515ce0b209cc7e5a780d9846e5154d380a763e (diff) | |
download | gcc-5fe0865ab788bdc387b284a3ad57e5a95a767b18.zip gcc-5fe0865ab788bdc387b284a3ad57e5a95a767b18.tar.gz gcc-5fe0865ab788bdc387b284a3ad57e5a95a767b18.tar.bz2 |
Fortran - out of bounds in array constructor with implied do loop
gcc/fortran/ChangeLog:
PR fortran/98490
* trans-expr.c (gfc_conv_substring): Do not generate substring
bounds check for implied do loop index variable before it actually
becomes defined.
gcc/testsuite/ChangeLog:
PR fortran/98490
* gfortran.dg/bounds_check_23.f90: New test.
Diffstat (limited to 'gcc/testsuite/c-c++-common/auto-init-padding-2.c')
0 files changed, 0 insertions, 0 deletions