diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2011-02-19 15:03:27 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2011-02-19 15:03:27 +0000 |
commit | 6c1b5781b4e65ac22a1b176609f548c42f2418b8 (patch) | |
tree | e9d23bf03eee0cad9d9e990d7523934bf76c250e /gcc/tree.c | |
parent | 27f98305d72a39edb648da5b7a891bee29a04f86 (diff) | |
download | gcc-6c1b5781b4e65ac22a1b176609f548c42f2418b8.zip gcc-6c1b5781b4e65ac22a1b176609f548c42f2418b8.tar.gz gcc-6c1b5781b4e65ac22a1b176609f548c42f2418b8.tar.bz2 |
re PR fortran/47348 (wrong string length with array constructor)
2011-02-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47348
* trans-array.c (get_array_ctor_all_strlen): Move up in file.
(get_array_ctor_var_strlen): Add block dummy and add call to
get_array_ctor_all_strlen instead of giving up on substrings.
Call gcc_unreachable for default case.
(get_array_ctor_strlen): Add extra argument to in call to
get_array_ctor_var_strlen.
2011-02-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/47348
* gfortran.dg/array_constructor_36.f90 : New test.
* gfortran.dg/bounds_check_10.f90 : Change dg-output message to
allow for comparison between different elements of the array
constructor at different levels of optimization.
From-SVN: r170317
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions