diff options
author | Tobias Schlüter <tobi@gcc.gnu.org> | 2007-10-13 23:43:49 +0200 |
---|---|---|
committer | Tobias Schlüter <tobi@gcc.gnu.org> | 2007-10-13 23:43:49 +0200 |
commit | 08ddab21215fba57be1ebdb495b9374953a6b679 (patch) | |
tree | 6b594a4e30b35f8484ca497241d85bc81bf45595 /gcc/tree-vect-transform.c | |
parent | ca94e524220617cadc4b32290474c50a0964fd46 (diff) | |
download | gcc-08ddab21215fba57be1ebdb495b9374953a6b679.zip gcc-08ddab21215fba57be1ebdb495b9374953a6b679.tar.gz gcc-08ddab21215fba57be1ebdb495b9374953a6b679.tar.bz2 |
re PR fortran/33254 (Diagnose different string lengths in array constructors at run time)
2007-10-13 Tobias Schlueter <tobi@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>
PR fortran/33254
PR fortran/33727
fortran/
* trans-array.c (get_array_ctor_var_strlen): Check upper bound for
constness instead of lower bound.
(get_array_ctor_strlen): Add bounds-checking code.
testsuite/
* bounds_check_10.f90: New.
Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r129286
Diffstat (limited to 'gcc/tree-vect-transform.c')
0 files changed, 0 insertions, 0 deletions