public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/47903] New: var-tracking.c: valgrind error
Date: Sat, 26 Feb 2011 09:55:00 -0000	[thread overview]
Message-ID: <bug-47903-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2011-02-26  9:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26  9:55 dcb314 at hotmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47903-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).