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]

Re: [Patch, Fortran] PR34186 -fdump-parse-tree fixes


Dominique Dhumieres wrote:
>> Or if possible in valgrind?
>>     
> AFAIK no valgrind for Darwin.
>   
I remembered so, but was unsure.


> 0x0001cd73 in gfc_show_typespec (ts=0x40e0bb60) at ../../gcc-4.3-work/gcc/fortran/dump-parse-tree.c:82
> 82	      gfc_show_expr (ts->cl->length);
>   
Same place. Can you add code to check which part is NULL? ts or ts->cl ?

And can you double check that you have:

        tmp_sym->value->ts.cl = gfc_get_charlen ();
        tmp_sym->value->ts.cl->length = gfc_int_expr (1);

in generate_isocbinding_symbol (symbol.c)?

Tobias


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