https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92250
Bug ID: 92250 Summary: valgrind: ira_traverse_loop_tree – Conditional jump or move depends on uninitialised value Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org Target Milestone: --- When looking at PR 92191. If I compile the example there (attachment 47091) using valgrind as wrapper, I get valgrind …/gcc-trunk/lib/gcc/x86_64-pc-linux-gnu/10.0.0/f951 fosyan.f … Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> <visibility> <build_ssa_passes> <opt_local_passes> <remove_symbols> <targetclone> <free-fnsummary>Streaming LTO <whole-program> <fnsummary> <inline> <free-fnsummary> <single-use> <comdats>Assembling functions: <materialize-all-clones> <simdclone> fosyan ==111983== Conditional jump or move depends on uninitialised value(s) ==111983== at 0xC91BC8: sparseset_bit_p (sparseset.h:147) ==111983== by 0xC91BC8: mark_pseudo_regno_live(int) (ira-lives.c:326) ==111983== by 0xC93638: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.c:1377) ==111983== by 0xC76D31: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.c:1804) ==111983== by 0xC93F31: ira_create_allocno_live_ranges() (ira-lives.c:1677) ==111983== by 0xC786CC: ira_build() (ira-build.c:3435) ==111983== by 0xC6F5E5: ira (ira.c:5341) ==111983== by 0xC6F5E5: (anonymous namespace)::pass_ira::execute(function*) (ira.c:5654) ==111983== by 0xD63BA9: execute_one_pass(opt_pass*) (passes.c:2494) ==111983== by 0xD642FF: execute_pass_list_1(opt_pass*) (passes.c:2580) ==111983== by 0xD64311: execute_pass_list_1(opt_pass*) (passes.c:2581) (and 55 more nearly identical lines, all 'at … sparseset_bit_p (sparseset.h:147)')