This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] Fix PR 20848, parameter and save conflict
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Thomas Koenig <Thomas dot Koenig at online dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 07 Sep 2005 22:42:35 +0200
- Subject: Re: [patch, fortran] Fix PR 20848, parameter and save conflict
- References: <20050907202935.GA1611@meiner.onlinehome.de>
Thomas Koenig wrote:
> Regression-tested on mainline. OK for checkin (and also for 4.0
> once I regression-test it there)?
>
> Thomas
>
> :ADDPATCH fortran:
>
> 2005-09-07 Thomas Koenig <Thomas.Koenig@online.de>
>
> PR fortran/20848
> * symbol.c(check_conflict): Add conflict for parameter/save,
>
> 2005-09-07 Thomas Koenig <Thomas.Koenig@online.de>
>
> PR fortran/20848
> * gfortran.dg/parameter+save.f90: New test case.
This patch is IMO obviously correct. Does it catch the bug in opposite order:
INTEGER, SAVE :: i
PARAMETER (i=5)
END
?
Otherwise that should also be fixed before closing the PR.
- Tobi