------- Comment #1 from burnus at gcc dot gnu dot org 2007-07-24 17:33 ------- Seemingly the error is detected and only on writing the error the segmentation fault occurs:
==494== Invalid read of size 8 ==494== at 0x41D398: show_locus (error.c:171) ==494== by 0x41D29D: error_print (error.c:521) ==494== by 0x41DB1E: gfc_error (error.c:759) ==494== by 0x45B930: resolve_code (resolve.c:5871) ==494== by 0x45BB10: resolve_codes (resolve.c:8472) ==494== by 0x45BACF: resolve_codes (resolve.c:8464) ==494== by 0x45BB54: gfc_resolve (resolve.c:8491) ==494== by 0x44E507: gfc_parse_file (parse.c:3271) ==494== by 0x472FBD: gfc_be_parse_file (f95-lang.c:301) ==494== by 0x6B4BC3: toplev_main (toplev.c:1044) ==494== by 0x52BEB43: (below main) (in /lib64/libc-2.6.so) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32884