This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42736] [4.3/4.4 Regression] Wrong-code with allocatable or pointer components in elemental functions
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2010 20:06:20 -0000
- Subject: [Bug fortran/42736] [4.3/4.4 Regression] Wrong-code with allocatable or pointer components in elemental functions
- References: <bug-42736-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from pault at gcc dot gnu dot org 2010-01-27 20:06 -------
Subject: Bug 42736
Author: pault
Date: Wed Jan 27 20:06:08 2010
New Revision: 156302
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156302
Log:
2010-01-27 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42736
* trans-stmt.c (gfc_conv_elemental_dependencies): If temporary
is required, turn any trailing array elements after a range
into ranges so that offsets can be calculated.
2010-01-27 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42736
* gfortran.dg/dependency_25.f90 : New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/dependency_25.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/trans-stmt.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42736