------- Comment #7 from pault at gcc dot gnu dot org 2007-05-31 18:51 ------- Subject: Bug 31483
Author: pault Date: Thu May 31 18:50:56 2007 New Revision: 125235 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125235 Log: 2007-05-31 Paul Thomas <[EMAIL PROTECTED]> backport from trunk PR fortran/31483 * trans-expr.c (gfc_conv_function_call): Give a dummy procedure the correct type if it has alternate returns. PR fortran/31540 * resolve.c (resolve_fl_procedure): Resolve constant character lengths. PR fortran/31867 PR fortran/31994 * trans-array.c (gfc_conv_expr_descriptor): Obtain the stored offset for non-descriptor, source arrays and correct for stride not equal to one before writing to field of output descriptor. 2007-05-31 Paul Thomas <[EMAIL PROTECTED]> backport from trunk PR fortran/31483 * gfortran.dg/altreturn_5.f90: New test. PR fortran/31540 * gfortran.dg/char_result_5.f90: New test. PR fortran/31867 * gfortran.dg/char_length_5.f90: New test. PR fortran/31994 * gfortran.dg/array_reference_1.f90: New test. Added: branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/altreturn_5.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/array_reference_1.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/char_length_5.f90 branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/char_result_13.f90 Modified: branches/gcc-4_2-branch/gcc/fortran/ChangeLog branches/gcc-4_2-branch/gcc/fortran/resolve.c branches/gcc-4_2-branch/gcc/fortran/trans-array.c branches/gcc-4_2-branch/gcc/fortran/trans-expr.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31483