This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR34955 - transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3
- From: Tobias Burnus <burnus at net-b dot de>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Jan 2009 17:28:14 +0100
- Subject: Re: [Patch, fortran] PR34955 - transfer_assumed_size_1.f90: Valgrind error: invalid read of size 3
- References: <339c37f20901122217m5462e45ma6e83200a3842bd1@mail.gmail.com>
Paul,
Paul Richard Thomas wrote:
> Bootstrapped and regtested on FC9/x86_i64 - OK for 4.5 and, eventually, for 4.4?
>
OK without the *~ file and with the changes Dominique mentioned. I think
as wrong-code PR it should be OK for 4.4.
Thanks for the patch.
Tobias
PS: 4.4 Regression status
(a) gfortran: maybe PR 38669 (+ I/O, + suspended/deferred to 4.5)
(b) P1-P3: 107 PRs of which 4 are P1
Thus for (b) the number went down quite a bit.
> 2009-01-13 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/34955
> * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has
> been absorbed into gfc_conv_intrinsic_transfer. All
> references to it in trans-intrinsic.c have been changed
> accordingly. PR fixed by using a temporary for scalar
> character transfer, when the source is shorter than the
> destination.
>
> 2009-01-13 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/34955
> * gfortran.dg/transfer_intrinsic_1.f90: New test.
>