public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47903] New: var-tracking.c: valgrind error
@ 2011-02-26  9:55 dcb314 at hotmail dot com
  2011-02-26 15:42 ` [Bug middle-end/47903] " jakub at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: dcb314 at hotmail dot com @ 2011-02-26  9:55 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: var-tracking.c: valgrind error
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 23476
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23476
C++ source code

I just tried to compile the attached C++ code with the latest 4.6 snapshot
20110219 under valgrind on a Linux x86_64 box.

Valgrind said

==12657== Conditional jump or move depends on uninitialised value(s)
==12657==    at 0xACA1EC: loc_cmp (var-tracking.c:2817)
==12657==    by 0xACA95D: onepart_variable_different_p (var-tracking.c:4402)
==12657==    by 0xAD1D32: emit_notes_for_differences_1 (var-tracking.c:4421)
==12657==    by 0xE09FA7: htab_traverse_noresize (hashtab.c:784)
==12657==    by 0xAD59E0: vt_emit_notes (var-tracking.c:7629)
==12657==    by 0xAD8D22: variable_tracking_main (var-tracking.c:8583)
==12657==    by 0x895D35: execute_one_pass (passes.c:1556)
==12657==    by 0x896034: execute_pass_list (passes.c:1611)
==12657==    by 0x896046: execute_pass_list (passes.c:1612)
==12657==    by 0x896046: execute_pass_list (passes.c:1612)
==12657==    by 0x98E6E5: tree_rest_of_compilation (tree-optimize.c:422)
==12657==    by 0xB32921: cgraph_expand_function (cgraphunit.c:1576)
==12657==
==12657== Conditional jump or move depends on uninitialised value(s)
==12657==    at 0xACA960: onepart_variable_different_p (var-tracking.c:4402)
==12657==    by 0xAD1D32: emit_notes_for_differences_1 (var-tracking.c:4421)
==12657==    by 0xE09FA7: htab_traverse_noresize (hashtab.c:784)
==12657==    by 0xAD59E0: vt_emit_notes (var-tracking.c:7629)
==12657==    by 0xAD8D22: variable_tracking_main (var-tracking.c:8583)
==12657==    by 0x895D35: execute_one_pass (passes.c:1556)
==12657==    by 0x896034: execute_pass_list (passes.c:1611)
==12657==    by 0x896046: execute_pass_list (passes.c:1612)
==12657==    by 0x896046: execute_pass_list (passes.c:1612)
==12657==    by 0x98E6E5: tree_rest_of_compilation (tree-optimize.c:422)
==12657==    by 0xB32921: cgraph_expand_function (cgraphunit.c:1576)
==12657==    by 0xB35069: cgraph_optimize (cgraphunit.c:1635)
==12657==

Flags -g -O3 required.


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

end of thread, other threads:[~2012-06-20 14:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-26  9:55 [Bug c++/47903] New: var-tracking.c: valgrind error dcb314 at hotmail dot com
2011-02-26 15:42 ` [Bug middle-end/47903] " jakub at gcc dot gnu.org
2011-02-26 16:04 ` jakub at gcc dot gnu.org
2011-02-26 16:23 ` [Bug middle-end/47903] [4.5/4.6 Regression] " jakub at gcc dot gnu.org
2011-02-27 19:45 ` jakub at gcc dot gnu.org
2011-02-27 19:46 ` [Bug middle-end/47903] [4.5 " jakub at gcc dot gnu.org
2011-03-25 20:10 ` jakub at gcc dot gnu.org
2011-06-27 16:36 ` jakub at gcc dot gnu.org
2011-10-10 12:43 ` rguenth at gcc dot gnu.org
2012-06-20 12:57 ` rguenth at gcc dot gnu.org
2012-06-20 13:56 ` rguenth at gcc dot gnu.org
2012-06-20 14:49 ` rguenth at gcc dot gnu.org

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).