This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: PR fortran/19269 (partial fix): Lengths of reshaped arrays
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Richard Sandiford <richard at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 07 Sep 2005 01:17:19 +0200
- Subject: Re: PR fortran/19269 (partial fix): Lengths of reshaped arrays
- References: <87zmqqp1r4.fsf@talisman.home>
Richard Sandiford wrote:
> gcc/fortran/
> PR fortran/19269
> * simplify.c (gfc_simplify_transpose): Set the result's typespec from
> the source, not the first element of the return value.
>
> gcc/testsuite/
> PR fortran/19269
> * gfortran.fortran-torture/execute/pr19269-1.c: New test.
This is ok with the testcase modified as discussed.
- Tobi