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


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


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