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] Fix use of ENTRY names as rvalues


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


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