diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-05-17 20:39:18 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-05-17 21:53:00 +0200 |
commit | 7bafe652dba9167b65e7b5ef24e77eceb49709ba (patch) | |
tree | 834fe18af7ddf2aaa4fd78ca28ced9b9b1b0d22b /install-sh | |
parent | 883f1e25dc7907c9bb37f480b900336a050218f1 (diff) | |
download | gcc-7bafe652dba9167b65e7b5ef24e77eceb49709ba.tar.gz |
Fortran: set shape of initializers of zero-sized arrays [PR95374,PR104352]
gcc/fortran/ChangeLog:
PR fortran/95374
PR fortran/104352
* decl.cc (add_init_expr_to_sym): Set shape of initializer also for
zero-sized arrays, so that bounds violations can be detected later.
gcc/testsuite/ChangeLog:
PR fortran/95374
PR fortran/104352
* gfortran.dg/zero_sized_13.f90: New test.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions