| (ladebug) t
>0 0x12000181c in mysub(FIRST=0, SECOND=0, THIRD=0, FOURTH=<no value>,
FIFTH=<no value>) l293.f90:8
#1 0x1200018c4 in optarg() l293.f90:38
#2 0x1200017cc in main() for_main.c:203
(ladebug) c
[1] stopped at [mysub:8 0x12000181c]
8 end subroutine mysub
Well, we don't core dump, but we don't do anything special for the
un-passed parameters. <no value> is the default behavior for
referencing parameter passed by reference whose address is zero. This
is the defined behavior from Fortran's persepective. There is still
nothing in the symbol table which indicates that any parameters may be
optional. We need this part to alloc CALLing a routine with optional
parameters from the command line (on the to-do list already)
|