From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24463 invoked by alias); 3 Oct 2012 06:54:39 -0000 Received: (qmail 24406 invoked by uid 48); 3 Oct 2012 06:54:24 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54783] [4.8 Regression] valgrind reports using uninitialised data in mark_pseudo_regno_live and make_object_born on basic code Date: Wed, 03 Oct 2012 06:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg00183.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54783 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek 2012-10-03 06:54:22 UTC --- Alternative would be to check for valgrind devel headers always, tweak the existing VALGRIND* macros used in gcc sources such that it would be only used if ENABLE_VALGRIND_CHECKING (otherwise expand to nothing) and in sparseset for hosts that have valgrind support, but no valgrind devel headers, fall back to XCNEWVEC, otherwise if valgrind devel headers are available, use the valgrind special insn even without --enable-checking=valgrind.