------- Comment #6 from pault at gcc dot gnu dot org 2008-01-20 08:23 ------- Subject: Bug 34785
Author: pault Date: Sun Jan 20 08:22:56 2008 New Revision: 131675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131675 Log: 2008-01-20 Paul Thomas <[EMAIL PROTECTED]> PR fortran/34784 * array.c (gfc_check_constructor_type): Clear the expression ts so that the checking starts from the deepest level of array constructor. * primary.c (match_varspec): If an unknown type is changed to default character and the attempt to match a substring fails, change it back to unknown. PR fortran/34785 * trans-array.c (gfc_add_loop_ss_code) : If ss->string_length is NULL for an array constructor, use the cl.length expression to build it. (gfc_conv_array_parameter): Change call to gfc_evaluate_now to a tree assignment. 2008-01-20 Paul Thomas <[EMAIL PROTECTED]> PR fortran/34784 * gfortran.dg/array_constructor_20.f90: New test. * gfortran.dg/mapping_2.f90: Correct ubound expression for h4. PR fortran/34785 * gfortran.dg/array_constructor_21.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/array_constructor_20.f90 trunk/gcc/testsuite/gfortran.dg/array_constructor_21.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/primary.c trunk/gcc/fortran/trans-array.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34785