This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34874] New: struct reorg valgrind failure
- From: "zadeck at naturalbridge dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2008 20:09:23 -0000
- Subject: [Bug middle-end/34874] New: struct reorg valgrind failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
FAIL: gcc.dg/struct/wo_prof_malloc_size_var.c (internal compiler error)
FAIL: gcc.dg/struct/wo_prof_malloc_size_var.c (test for excess errors)
valgrind --tool=memcheck --db-attach=yes --error-limit=no
/home/zadeck/gbB2/gcc/cc1 -fpreprocessed wo_prof_malloc_size_var.i -quiet
-dumpbase wo_prof_malloc_size_var.i -mtune=generic -auxbase
wo_prof_malloc_size_var -O3 -version -fipa-struct-reorg -fdump-ipa-all
-fwhole-program -fipa-type-escape -fno-show-column -o wo_prof_malloc_size_var.s
==27272== Invalid read of size 8
==27272== at 0xEACB12: htab_traverse_noresize (hashtab.c:747)
==27272== by 0xEACBA5: htab_traverse (hashtab.c:765)
==27272== by 0xBB65D2: check_cond_exprs (ipa-struct-reorg.c:3547)
==27272== by 0xBB6FD3: collect_data_accesses (ipa-struct-reorg.c:3830)
==27272== by 0xBB7281: reorg_structs (ipa-struct-reorg.c:3944)
==27272== by 0xBB72A0: reorg_structs_drive (ipa-struct-reorg.c:3967)
==27272== by 0x7B7476: execute_one_pass (passes.c:1118)
==27272== by 0x7B7656: execute_ipa_pass_list (passes.c:1187)
==27272== by 0xB98102: ipa_passes (cgraphunit.c:1340)
==27272== by 0xB98215: cgraph_optimize (cgraphunit.c:1387)
==27272== by 0x431628: c_write_global_declarations (c-decl.c:8079)
==27272== by 0x87CAB6: compile_file (toplev.c:1055)
==27272== Address 0x587A700 is 16 bytes inside a block of size 104 free'd
==27272== at 0x4C2191B: free (in
/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==27272== by 0xEAC5D4: htab_expand (hashtab.c:550)
==27272== by 0xEACB94: htab_traverse (hashtab.c:763)
==27272== by 0xBB014D: free_accesses (ipa-struct-reorg.c:1674)
==27272== by 0xBB1192: free_data_struct (ipa-struct-reorg.c:2111)
==27272== by 0xBB20C8: remove_structure (ipa-struct-reorg.c:2353)
==27272== by 0xBB5268: safe_cond_expr_check (ipa-struct-reorg.c:3090)
==27272== by 0xEACB34: htab_traverse_noresize (hashtab.c:750)
==27272== by 0xEACBA5: htab_traverse (hashtab.c:765)
==27272== by 0xBB65D2: check_cond_exprs (ipa-struct-reorg.c:3547)
==27272== by 0xBB6FD3: collect_data_accesses (ipa-struct-reorg.c:3830)
==27272== by 0xBB7281: reorg_structs (ipa-struct-reorg.c:3944)
--
Summary: struct reorg valgrind failure
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zadeck at naturalbridge dot com
GCC host triplet: x86-64-linux-gni
GCC target triplet: x86_64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34874