[Bug fortran/47348] wrong string length with array constructor
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 13 17:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47348
--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> 2011-03-13 17:37:47 UTC ---
Author: pault
Date: Sun Mar 13 17:37:43 2011
New Revision: 170923
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170923
Log:
2011-03-13 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-03-13 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.
Added:
branches/gcc-4_5-branch/gcc/testsuite/gfortran.dg/array_constructor_36.f90
Modified:
branches/gcc-4_5-branch/gcc/fortran/ChangeLog
branches/gcc-4_5-branch/gcc/fortran/trans-array.c
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list