This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] | |
That's very helpful. Both the OS's on which I have tried this, consistently return null or a namespace.
Seemingly, current_interface.ns can be uninitialized and non zero.
I will recheck the paths to gfc_add_explicit_interface. I had checked this and concluded that they all ultimately radiated from parse.c. I will either add a nulling or a signalling mechanism to make sure that we get to gfc_add_explicit_interface in good shape."gfc_interface_info current_interface;" is defined in interface.c (and as external in gfortran.h) with gfc_namespace *ns.
It is set in "parse_interface()". The lines above from symbol.c are part
of gfc_add_explicit_interface(),
which is called in decl.c and parse.c.
As one can see from valgrind, it fails in gfc_match_formal_arglist
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |