This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR22304 - gfortran silently changes values in equivalenced variables - MkII
- From: Thomas Koenig <Thomas dot Koenig at online dot de>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, albertm at uphs dot upenn dot edu,François-Xavier Coudert <fxcoudert at gmail dot com>
- Date: Wed, 17 Aug 2005 19:41:36 +0200
- Subject: Re: [Patch, fortran] PR22304 - gfortran silently changes values in equivalenced variables - MkII
- References: <42F38430.1010505@wanadoo.fr> <42F90606.1060505@wanadoo.fr>
On Tue, Aug 09, 2005 at 09:37:42PM +0200, Paul Thomas wrote:
> The simple one liner has evolved a bit! Thank you to FX for spotting
> that I had forgotten equivalences with more than two symbols.
>
> The enclosed patch fixes the problem and regtests OK on FC3/Athlon.
Your test case doesn't fail for me on i686-pc-linux-gnu without your
patch (the test case from the PR does). I would suggest that you
use the PR testcase, plus additional tests with three or more
variables.
This is OK otherwise if regression-tested (unless one of the more
experienced reviewers has something to say pretty quickly :-)
:REVIEWMAIL: