This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR 20848, parameter and save conflict


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]