------- Comment #2 from janus at gcc dot gnu dot org 2008-05-31 11:18 ------- valgrind gives the following backtrace:
==19018== Invalid read of size 4 ==19018== at 0x80E71EA: gfc_conv_const_charlen (trans-const.c:179) ==19018== by 0x811B61A: gfc_get_function_type (trans-types.c:2077) ==19018== by 0x80EB30D: build_function_decl (trans-decl.c:1263) ==19018== by 0x80EDEB6: gfc_create_function_decl (trans-decl.c:1820) ==19018== by 0x80EF80C: gfc_generate_function_code (trans-decl.c:3206) ==19018== by 0x80A44DC: gfc_parse_file (parse.c:3601) ==19018== by 0x80D030C: gfc_be_parse_file (f95-lang.c:259) ==19018== by 0x8372C7D: toplev_main (toplev.c:965) ==19018== by 0x811DE11: main (main.c:35) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36322