[Bug fortran/31867] function result with character LEN computed at run time
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 21 13:16:00 GMT 2007
------- Comment #11 from pault at gcc dot gnu dot org 2007-05-21 14:16 -------
Subject: Bug 31867
Author: pault
Date: Mon May 21 13:16:06 2007
New Revision: 124903
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124903
Log:
2007-05-21 Paul Thomas <pault@gcc.gnu.org>
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-21 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31867
* gfortran.dg/char_length_5.f90: New test.
PR fortran/31994
* gfortran.dg/array_reference_1.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/array_reference_1.f90
trunk/gcc/testsuite/gfortran.dg/char_length_5.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31867
More information about the Gcc-bugs
mailing list