https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56532
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The only messages from valgrind I get these days are from IRA and LRA: ==15092== Command: ./cc1plus pr46984.C -O -fipa-cp -fno-early-inlining -flto -quiet --param=ggc-min-expand=0 --param=ggc-min-heapsize=0 -ffat-lto-objects ==15092== ==15092== Conditional jump or move depends on uninitialised value(s) ==15092== at 0x1526474: sparseset_bit_p(sparseset_def*, unsigned int) (sparseset.h:146) ==15092== by 0x1526F2A: mark_pseudo_regno_live(int) (ira-lives.c:326) ==15092== by 0x15271D4: mark_pseudo_reg_live(rtx_def*, unsigned int) (ira-lives.c:410) ==15092== by 0x1527242: mark_ref_live(df_ref_d*) (ira-lives.c:424) ==15092== by 0x1529ED2: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.c:1434) ==15092== by 0x14FC954: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1806) ==15092== by 0x152AD38: ira_create_allocno_live_ranges() (ira-lives.c:1734) ==15092== by 0x15012FE: ira_build() (ira-build.c:3433) ==15092== by 0x14F6809: ira(_IO_FILE*) (ira.c:5752) ==15092== by 0x14F71AC: (anonymous namespace)::pass_ira::execute(function*) (ira.c:6075) ==15092== by 0x168E8E5: execute_one_pass(opt_pass*) (passes.c:2637) ==15092== by 0x168EC76: execute_pass_list_1(opt_pass*) (passes.c:2737) ==15092== Uninitialised value was created by a heap allocation ==15092== at 0x52B1B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==15092== by 0x30557BC: xmalloc (xmalloc.c:149) ==15092== by 0x17C76C7: sparseset_alloc(unsigned int) (sparseset.c:33) ==15092== by 0x152ACAC: ira_create_allocno_live_ranges() (ira-lives.c:1727) ==15092== by 0x15012FE: ira_build() (ira-build.c:3433) ==15092== by 0x14F6809: ira(_IO_FILE*) (ira.c:5752) ==15092== by 0x14F71AC: (anonymous namespace)::pass_ira::execute(function*) (ira.c:6075) ==15092== by 0x168E8E5: execute_one_pass(opt_pass*) (passes.c:2637) ==15092== by 0x168EC76: execute_pass_list_1(opt_pass*) (passes.c:2737) ==15092== by 0x168ECA7: execute_pass_list_1(opt_pass*) (passes.c:2738) ==15092== by 0x168ECFF: execute_pass_list(function*, opt_pass*) (passes.c:2748) ==15092== by 0x110B4A2: cgraph_node::expand() (cgraphunit.c:1834)