This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40015] [4.5.0 Regression] Revision 147083 failed gfortran.dg/array_memcpy_4.f90
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2009 09:01:19 -0000
- Subject: [Bug middle-end/40015] [4.5.0 Regression] Revision 147083 failed gfortran.dg/array_memcpy_4.f90
- References: <bug-40015-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from rguenther at suse dot de 2009-05-04 09:01 -------
Subject: Re: [4.5.0 Regression] Revision 147083 failed
gfortran.dg/array_memcpy_4.f90
On Mon, 4 May 2009, dominiq at lps dot ens dot fr wrote:
> ------- Comment #4 from dominiq at lps dot ens dot fr 2009-05-04 08:59 -------
> This test has been introduced by the patch in
> http://gcc.gnu.org/ml/fortran/2007-01/msg00425.html.
> The tests gfortran.dg/array_memcpy_[1-3].f90 use
>
> ! { dg-final { scan-tree-dump-times "memcpy" * "original" } }
>
> So a simple fix would be to replace
>
> ! { dg-final { scan-tree-dump-times "d = " 1 "original" } }
>
> with
>
> ! { dg-final { scan-tree-dump-times "memcpy" 1 "original" } }
>
> but I don't understand why array_memcpy_4.f90 used to give a different
> construct and this change could mask a more serious problem.
I will investigate - we really should get the memcpy removed.
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40015