[PATCH] Fix use of ENTRY names as rvalues

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Jul 7 21:38:00 GMT 2005


Jakub Jelinek wrote:
> Without this gfortran complains at the bar / 3 spot
> that function bar requires an argument list.
> Ok to commit (HEAD + 4.0.2 (after it reopens))?
> 
> 2005-07-07  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* primary.c (gfc_match_rvalue): Handle ENTRY the same way
> 	as FUNCTION.
> 
> 	* gfortran.fortran-torture/execute/entry_10.f90: New test.

This is ok, I'm not to thrilled with the necessity of adding a special case
for entries, but I can't think of a better way.  I'm curious if this was
exposed by your previous fix.

Thanks,
- Tobi



More information about the Fortran mailing list