------- Comment #9 from pault at gcc dot gnu dot org 2008-01-10 19:11 ------- Subject: Bug 34396
Author: pault Date: Thu Jan 10 19:10:48 2008 New Revision: 131448 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131448 Log: 2008-01-10 Paul Thomas <[EMAIL PROTECTED]> PR fortran/34396 * trans-array.c (gfc_trans_array_ctor_element): Use gfc_trans_string_copy to assign strings and perform bounds checks on the string length. (get_array_ctor_strlen): Remove bounds checking. (gfc_trans_array_constructor): Initialize string length checking. * trans-array.h : Add prototype for gfc_trans_string_copy. 2008-01-10 Paul Thomas <[EMAIL PROTECTED]> PR fortran/34396 * gfortran.dg/bounds_check_12.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/bounds_check_12.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-array.h trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34396