This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54783] [4.8 Regression] valgrind reports using uninitialised data in mark_pseudo_regno_live and make_object_born on basic code
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Oct 2012 06:54:22 +0000
- 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
- Auto-submitted: auto-generated
- References: <bug-54783-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54783
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 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.