This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gfortran] Make all arguments to ENTRY master optional


Paul Brook wrote:
> No. The special handling is there for a reason.
> I've added the following to the testsuite.
> 
> Because the master arguments are shared with the individual entry points, I 
> think you'd also end up (incorrectly) allowing:
> call foo()

I missed that. This problem exists because we call resolve_entries in the
_beginning_ of gfc_resolve. I admit that introducing an order-dependency is
not a good thing.

Thanks,
- Tobi


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