This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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