[gfortran] Make all arguments to ENTRY master optional

Paul Brook paul@codesourcery.com
Tue Aug 24 16:45:00 GMT 2004


On Tuesday 24 August 2004 16:19, Tobias Schlüter wrote:
> While reading build_entry_thunks(), I came across this code:
>   /* Remember the master function argument decls.  */
>   for (formal = ns->proc_name->formal; formal; formal = formal->next)
>     {
>     }
> My knowledge of C is not impeccable, but to me this looks like a do nothing
> loop since all other users of formal in that function reset it to different
> values anyway. Can this be removed?

It looks redundant. Please remove it.

Paul



More information about the Gcc-patches mailing list