This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch] Fix aliasing problem with fortran
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 18 May 2005 23:15:10 +0200
- Subject: Re: [patch] Fix aliasing problem with fortran
- References: <20050516193208.GD16082@atrey.karlin.mff.cuni.cz>
Zdenek Dvorak wrote:
> Bootstrapped & regtested on i686.
>
> Zdenek
>
> * trans-types.c (gfc_array_range_type): New variable.
> (gfc_init_types): Initialize gfc_array_range_type.
> (gfc_get_array_type_bounds): Use gfc_array_range_type.
>
Can you also apply this patch to the 4.0 branch please? It fixes PR 16898 and
the associated testcase gfortran.dg/ret_pointer_1.f90. Can you then please
close the PR and un-XFAIL the testcase?
Thanks,
- Tobi