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] |
When I fixed the off-by-1 problem with iargc in PR libfortran/20085, I did not realize that command_argument_count called iargc to get the argument count and then it subtracted 1. Thus, command_argument_count was account for the command name twice. In essence, iargc and command_argument_count are equivalent. bootstrap and regtested on i386-*-freebsd. This is a regression. OK for mainline? 2005-05-25 Steven G. Kargl <kargls@comcast.net> * trans-intrinsic.c (gfc_conv_intrinsic_iargc): remove boolean argument. (gfc_conv_intrinsic_function): update function calls -- Steve
Attachment:
trans-intrinsic.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |