This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR31867 - function result with character LEN computed at run time
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Paul Richard Thomas" <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>, "gcc-patches List" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 21 May 2007 11:43:42 +0200
- Subject: Re: [Patch, fortran] PR31867 - function result with character LEN computed at run time
- References: <339c37f20705150537n3a28e7d8va2151d0d96722102@mail.gmail.com>
:REVIEWMAIL:
2007-05-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31867
* 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.
I somehow lost track of this patch, sorry. This is OK for mainline,
with added testcases from PR31994.
Do you think this should go into 4.2? It doesn't appear to be a
regression, but it sure is a nasty wrong-code bug. In the end, I guess
it depends on how safe you think the patch is.
FX