public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/34874]  New: struct reorg valgrind failure
@ 2008-01-19 20:50 zadeck at naturalbridge dot com
  2008-01-19 21:04 ` [Bug middle-end/34874] " zadeck at naturalbridge dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zadeck at naturalbridge dot com @ 2008-01-19 20:50 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/34874] struct reorg valgrind failure
  2008-01-19 20:50 [Bug middle-end/34874] New: struct reorg valgrind failure zadeck at naturalbridge dot com
@ 2008-01-19 21:04 ` zadeck at naturalbridge dot com
  2008-01-20  1:50 ` pinskia at gcc dot gnu dot org
  2008-01-20  1:50 ` zadeck at naturalbridge dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zadeck at naturalbridge dot com @ 2008-01-19 21:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from zadeck at naturalbridge dot com  2008-01-19 20:13 -------
I am about to commit the last fix to p34400 and at least on my machine, this
patch will make this failure disappear from the test suite.  however the bug is
still there if you look with valgrind.  

pinskia, i am sorry, i am about to leave for the day I want to close 34400 and
i did not get to do a dup check to see if this was already there.  

kenny.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34874


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/34874] struct reorg valgrind failure
  2008-01-19 20:50 [Bug middle-end/34874] New: struct reorg valgrind failure zadeck at naturalbridge dot com
  2008-01-19 21:04 ` [Bug middle-end/34874] " zadeck at naturalbridge dot com
@ 2008-01-20  1:50 ` pinskia at gcc dot gnu dot org
  2008-01-20  1:50 ` zadeck at naturalbridge dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-01-20  1:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-01-20 01:47 -------
Sorry Kenny I forgot to say we already have a bug report about this, PR 34472.

*** This bug has been marked as a duplicate of 34472 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34874


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug middle-end/34874] struct reorg valgrind failure
  2008-01-19 20:50 [Bug middle-end/34874] New: struct reorg valgrind failure zadeck at naturalbridge dot com
  2008-01-19 21:04 ` [Bug middle-end/34874] " zadeck at naturalbridge dot com
  2008-01-20  1:50 ` pinskia at gcc dot gnu dot org
@ 2008-01-20  1:50 ` zadeck at naturalbridge dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zadeck at naturalbridge dot com @ 2008-01-20  1:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from zadeck at naturalbridge dot com  2008-01-20 01:43 -------
actually the commit for 34400 does not seem to effect this bug. 
but the bug does have that nice heisenbug quality to it.

kenny


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34874


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-20  1:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-19 20:50 [Bug middle-end/34874] New: struct reorg valgrind failure zadeck at naturalbridge dot com
2008-01-19 21:04 ` [Bug middle-end/34874] " zadeck at naturalbridge dot com
2008-01-20  1:50 ` pinskia at gcc dot gnu dot org
2008-01-20  1:50 ` zadeck at naturalbridge dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).