This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR33749 - Wrong evaluation of expressions in lhs of assignment statements
- 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 List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 21 Oct 2007 14:39:54 +0200
- Subject: Re: [Patch, fortran] PR33749 - Wrong evaluation of expressions in lhs of assignment statements
- References: <339c37f20710210241w73f07b56o8db51abb0702dfb4@mail.gmail.com>
Paul Richard Thomas wrote:
> Bootstraps and regtests on x86_ia64 - OK for trunk?
>
OK.
Note: For the following, gfortran generates an unneeded temporary
variable; before it depended whether q was an integer 4 or 8 variable
and thus it is not really a newly missed optimization.
integer(4) :: p(4) = (/2,4,1,3/)
integer(8) :: q(4) = (/2,4,1,3/)
p(q) = (/(i, i = 1, 4)/)
Filled as PR 33850.
Tobias