http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45848
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2010.10.01 09:24:03 CC| |janus at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from janus at gcc dot gnu.org 2010-10-01 09:24:03 UTC --- Confirmed. Valgrind shows lots of errors, e.g.: ==1988== Invalid write of size 8 ==1988== at 0x519596: next_statement (parse.c:891) ==1988== by 0x51CBB8: parse_executable (parse.c:3616) ==1988== by 0x51BE94: parse_select_type_block (parse.c:2986) ==1988== by 0x51CC63: parse_executable (parse.c:3678) ==1988== by 0x51D33C: parse_progunit (parse.c:3948) ==1988== by 0x51D13A: parse_contained (parse.c:3862) ==1988== by 0x51D6F6: parse_module (parse.c:4118) ==1988== by 0x51DD52: gfc_parse_file (parse.c:4345) ==1988== by 0x562BF5: gfc_be_parse_file (f95-lang.c:242) ==1988== by 0xA3E740: compile_file (toplev.c:939) ==1988== by 0xA40C8E: do_compile (toplev.c:2379) ==1988== by 0xA40D5C: toplev_main (toplev.c:2420) ==1988== Address 0x5d81f00 is 1,856 bytes inside a block of size 2,552 free'd ==1988== at 0x4C280BD: free (vg_replace_malloc.c:366) ==1988== by 0x507FB1: gfc_free (misc.c:51) ==1988== by 0x50558F: free_case (match.c:4338) ==1988== by 0x5055B7: gfc_free_case_list (match.c:4352) ==1988== by 0x552C5F: gfc_free_statement (st.c:133) ==1988== by 0x5198AA: undo_new_statement (parse.c:1077) ==1988== by 0x51A262: reject_statement (parse.c:1664) ==1988== by 0x51BE51: parse_select_type_block (parse.c:2975) ==1988== by 0x51CC63: parse_executable (parse.c:3678) ==1988== by 0x51D33C: parse_progunit (parse.c:3948) ==1988== by 0x51D13A: parse_contained (parse.c:3862) ==1988== by 0x51D6F6: parse_module (parse.c:4118) ==1988== ==1988== Invalid read of size 8 ==1988== at 0x51BF2B: parse_select_type_block (parse.c:3016) ==1988== by 0x51CC63: parse_executable (parse.c:3678) ==1988== by 0x51D33C: parse_progunit (parse.c:3948) ==1988== by 0x51D13A: parse_contained (parse.c:3862) ==1988== by 0x51D6F6: parse_module (parse.c:4118) ==1988== by 0x51DD52: gfc_parse_file (parse.c:4345) ==1988== by 0x562BF5: gfc_be_parse_file (f95-lang.c:242) ==1988== by 0xA3E740: compile_file (toplev.c:939) ==1988== by 0xA40C8E: do_compile (toplev.c:2379) ==1988== by 0xA40D5C: toplev_main (toplev.c:2420) ==1988== by 0x5F5453: main (main.c:36) ==1988== Address 0x5d81ff0 is 2,096 bytes inside a block of size 2,552 free'd ==1988== at 0x4C280BD: free (vg_replace_malloc.c:366) ==1988== by 0x507FB1: gfc_free (misc.c:51) ==1988== by 0x50558F: free_case (match.c:4338) ==1988== by 0x5055B7: gfc_free_case_list (match.c:4352) ==1988== by 0x552C5F: gfc_free_statement (st.c:133) ==1988== by 0x5198AA: undo_new_statement (parse.c:1077) ==1988== by 0x51A262: reject_statement (parse.c:1664) ==1988== by 0x51BE51: parse_select_type_block (parse.c:2975) ==1988== by 0x51CC63: parse_executable (parse.c:3678) ==1988== by 0x51D33C: parse_progunit (parse.c:3948) ==1988== by 0x51D13A: parse_contained (parse.c:3862) ==1988== by 0x51D6F6: parse_module (parse.c:4118)