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

Tobias Burnus burnus@net-b.de
Fri Nov 30 15:05:00 GMT 2007


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



More information about the Fortran mailing list