This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34908] New: valgrind error indication from testsuite hashtab.c : htab_hash_string
- From: "ismail at pardus dot org dot tr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2008 22:03:13 -0000
- Subject: [Bug middle-end/34908] New: valgrind error indication from testsuite hashtab.c : htab_hash_string
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
FAIL: gfortran.dg/do_3.F90 -O3 -g (test for excess errors)
Excess errors:
==6073== Invalid read of size 1
==6073== at 0x870B847: htab_hash_string (hashtab.c:812)
==6073== by 0x8196A99: lookup_filename (dwarf2out.c:14304)
==6073== by 0x8191935: add_src_coords_attributes (dwarf2out.c:11359)
==6073== by 0x81919FE: add_name_and_src_coords_attributes
(dwarf2out.c:11376)
==6073== by 0x81935B4: gen_subprogram_die (dwarf2out.c:12376)
==6073== by 0x8196109: gen_decl_die (dwarf2out.c:13901)
==6073== by 0x81968ED: dwarf2out_decl (dwarf2out.c:14218)
==6073== by 0x81931AE: dwarf2out_abstract_function (dwarf2out.c:12236)
==6073== by 0x84BAEB8: expand_call_inline (tree-inline.c:2874)
==6073== by 0x84BAFA2: gimple_expand_calls_inline (tree-inline.c:2910)
==6073== by 0x84BB2D8: optimize_inline_calls (tree-inline.c:3003)
==6073== by 0x849E44F: apply_inline (ipa-inline.c:1598)
==6073== Address 0x424fa38 is 0 bytes inside a block of size 90 free'd
==6073== at 0x4022F82: free (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==6073== by 0x80BD16B: preprocessor_line (scanner.c:1412)
==6073== by 0x80BD585: load_file (scanner.c:1566)
==6073== by 0x80BD8A5: gfc_new_file (scanner.c:1680)
==6073== by 0x80D24ED: gfc_init (f95-lang.c:290)
==6073== by 0x8314354: lang_dependent_init (toplev.c:2128)
==6073== by 0x8314585: do_compile (toplev.c:2250)
==6073== by 0x83145F0: toplev_main (toplev.c:2283)
==6073== by 0x811D011: main (main.c:35)
==6073==·
==6073== Invalid read of size 1
==6073== at 0x4024CC3: strcmp (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==6073== by 0x870B4E1: htab_find_slot_with_hash (hashtab.c:634)
==6073== by 0x8196ABA: lookup_filename (dwarf2out.c:14304)
==6073== by 0x8191935: add_src_coords_attributes (dwarf2out.c:11359)
==6073== by 0x81919FE: add_name_and_src_coords_attributes
(dwarf2out.c:11376)
==6073== by 0x8192CBD: gen_formal_parameter_die (dwarf2out.c:12063)
==6073== by 0x81963AA: gen_decl_die (dwarf2out.c:13985)
==6073== by 0x8193A1E: gen_subprogram_die (dwarf2out.c:12540)
==6073== by 0x8196109: gen_decl_die (dwarf2out.c:13901)
==6073== by 0x81968ED: dwarf2out_decl (dwarf2out.c:14218)
==6073== by 0x81931AE: dwarf2out_abstract_function (dwarf2out.c:12236)
==6073== by 0x84BAEB8: expand_call_inline (tree-inline.c:2874)
==6073== Address 0x424fa38 is 0 bytes inside a block of size 90 free'd
==6073== at 0x4022F82: free (in
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==6073== by 0x80BD16B: preprocessor_line (scanner.c:1412)
==6073== by 0x80BD585: load_file (scanner.c:1566)
==6073== by 0x80BD8A5: gfc_new_file (scanner.c:1680)
==6073== by 0x80D24ED: gfc_init (f95-lang.c:290)
==6073== by 0x8314354: lang_dependent_init (toplev.c:2128)
==6073== by 0x8314585: do_compile (toplev.c:2250)
==6073== by 0x83145F0: toplev_main (toplev.c:2283)
==6073== by 0x811D011: main (main.c:35)
Used svn revision 131650.
--
Summary: valgrind error indication from testsuite hashtab.c :
htab_hash_string
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ismail at pardus dot org dot tr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34908