------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-09-17 09:33 ------- On x86_64-linux, when f951 (both with -m32 and -m64) is run under valgrind, I get a short series of invalid read beginning with:
==1628== Invalid read of size 1 ==1628== at 0xAEA1F0: htab_hash_string (hashtab.c:812) ==1628== by 0x5335DD: lookup_filename (dwarf2out.c:14042) ==1628== by 0x534D1C: dwarf2out_source_line (dwarf2out.c:14159) ==1628== by 0x534F41: dwarf2out_begin_prologue (dwarf2out.c:2626) ==1628== by 0x58F6BF: final_start_function (final.c:1443) ==1628== by 0x591E36: rest_of_handle_final (final.c:4048) ==1628== by 0x64E260: execute_one_pass (passes.c:1115) ==1628== by 0x64E43F: execute_pass_list (passes.c:1168) ==1628== by 0x64E454: execute_pass_list (passes.c:1169) ==1628== by 0x64E454: execute_pass_list (passes.c:1169) ==1628== by 0x7286E7: tree_rest_of_compilation (tree-optimize.c:404) ==1628== by 0x8983E3: cgraph_expand_function (cgraphunit.c:1070) ==1628== Address 0x4DC7820 is 0 bytes inside a block of size 4 free'd ==1628== at 0x4A1B46D: free (vg_replace_malloc.c:233) ==1628== by 0x461166: preprocessor_line (scanner.c:1304) ==1628== by 0x462084: load_file (scanner.c:1496) ==1628== by 0x462314: gfc_new_file (scanner.c:1556) ==1628== by 0x477922: gfc_init (f95-lang.c:288) ==1628== by 0x6CEC89: toplev_main (toplev.c:2124) ==1628== by 0x4B3B4C9: (below main) (in /usr/lib/debug/libc-2.3.6.so) ==1628== -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-09-17 09:33:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33408