This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Fix use of ENTRY names as rvalues
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 07 Jul 2005 23:37:52 +0200
- Subject: Re: [PATCH] Fix use of ENTRY names as rvalues
- References: <20050707115933.GQ3720@devserv.devel.redhat.com>
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