This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/62009] Bootstrap failure in vec.h::splice


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62009

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Valgrind show:

==20810== Invalid read of size 8
==20810==    at 0xBA4A6F: redirect_edge_var_map_dup(edge_def*, edge_def*)
(vec.h:1184)
==20810==    by 0x675552: redirect_edge_succ_nodup(edge_def*, basic_block_def*)
(cfghooks.c:437)
==20810==    by 0xA18098: gimple_redirect_edge_and_branch(edge_def*,
basic_block_def*) (tree-cfg.c:5419)
==20810==    by 0x6753C9: redirect_edge_and_branch(edge_def*, basic_block_def*)
(cfghooks.c:356)
==20810==    by 0x675482: remove_branch(edge_def*) (cfghooks.c:398)
==20810==    by 0x67F062: remove_path(edge_def*) (cfgloopmanip.c:384)
==20810==    by 0xAFE5C2: canonicalize_loop_induction_variables(loop*, bool,
unroll_level, bool) (tree-ssa-loop-ivcanon.c:845)
==20810==    by 0xAFEE4F: tree_unroll_loops_completely_1(bool, bool, vec<loop*,
va_heap, vl_ptr>&, loop*) (tree-ssa-loop-ivcanon.c:1149)
==20810==    by 0xAFEDD0: tree_unroll_loops_completely_1(bool, bool, vec<loop*,
va_heap, vl_ptr>&, loop*) (tree-ssa-loop-ivcanon.c:1123)
==20810==    by 0xAFF802: tree_unroll_loops_completely(bool, bool)
(tree-ssa-loop-ivcanon.c:1193)
==20810==    by 0x92D88C: execute_one_pass(opt_pass*) (passes.c:2149)
==20810==    by 0x92DE15: execute_pass_list_1(opt_pass*) (passes.c:2201)
==20810==  Address 0x55a5f08 is 152 bytes inside a block of size 208 free'd
==20810==    at 0x40298D0: free (vg_replace_malloc.c:468)
==20810==    by 0xBA52ED: hash_table<hash_map<edge_def*,
auto_vec<_edge_var_map, 0ul>, default_hashmap_traits>::hash_entry, xcallocator,
true>::find_slot_with_hash(edge_def* 
const&, unsigned int, insert_option) (hash-table.h:1370)
==20810==    by 0xBA4A61: redirect_edge_var_map_dup(edge_def*, edge_def*)
(hash-map.h:177)
==20810==    by 0x675552: redirect_edge_succ_nodup(edge_def*, basic_block_def*)
(cfghooks.c:437)
==20810==    by 0xA18098: gimple_redirect_edge_and_branch(edge_def*,
basic_block_def*) (tree-cfg.c:5419)
==20810==    by 0x6753C9: redirect_edge_and_branch(edge_def*, basic_block_def*)
(cfghooks.c:356)
==20810==    by 0x675482: remove_branch(edge_def*) (cfghooks.c:398)
==20810==    by 0x67F062: remove_path(edge_def*) (cfgloopmanip.c:384)
==20810==    by 0xAFE5C2: canonicalize_loop_induction_variables(loop*, bool,
unroll_level, bool) (tree-ssa-loop-ivcanon.c:845)
==20810==    by 0xAFEE4F: tree_unroll_loops_completely_1(bool, bool, vec<loop*,
va_heap, vl_ptr>&, loop*) (tree-ssa-loop-ivcanon.c:1149)
==20810==    by 0xAFEDD0: tree_unroll_loops_completely_1(bool, bool, vec<loop*,
va_heap, vl_ptr>&, loop*) (tree-ssa-loop-ivcanon.c:1123)
==20810==    by 0xAFF802: tree_unroll_loops_completely(bool, bool)
(tree-ssa-loop-ivcanon.c:1193)
==20810== 
==20810== Conditional jump or move depends on uninitialised value(s)
==20810==    at 0xECD18A: register_active_defs(df_ref_d*) (sparseset.h:147)
==20810==    by 0xECD23E: update_df_init(rtx_def*, rtx_def*) (fwprop.c:878)
==20810==    by 0xECD564: try_fwprop_subst(df_ref_d*, rtx_def**, rtx_def*,
rtx_def*, bool) (fwprop.c:945)
==20810==    by 0xECDA5A: forward_propagate_into(df_ref_d*) (fwprop.c:1320)
==20810==    by 0xECDFE7: (anonymous
namespace)::pass_rtl_fwprop::execute(function*) (fwprop.c:1457)
==20810==    by 0x92D88C: execute_one_pass(opt_pass*) (passes.c:2149)
==20810==    by 0x92DE15: execute_pass_list_1(opt_pass*) (passes.c:2201)
==20810==    by 0x92DE27: execute_pass_list_1(opt_pass*) (passes.c:2202)
==20810==    by 0x92DE68: execute_pass_list(function*, opt_pass*)
(passes.c:2212)
==20810==    by 0x6997AF: expand_function(cgraph_node*) (cgraphunit.c:1776)
==20810==    by 0x69ADD3: compile() (cgraphunit.c:1910)
==20810==    by 0x69C874: finalize_compilation_unit() (cgraphunit.c:2331)
==20810==  Uninitialised value was created by a heap allocation
==20810==    at 0x4028510: malloc (vg_replace_malloc.c:291)
==20810==    by 0xFC8D27: xmalloc (xmalloc.c:147)
==20810==    by 0x9CE0A4: sparseset_alloc(unsigned long) (sparseset.c:33)
==20810==    by 0xECCA82: fwprop_init() (fwprop.c:1401)
==20810==    by 0xECDF5A: (anonymous
namespace)::pass_rtl_fwprop::execute(function*) (fwprop.c:1441)
==20810==    by 0x92D88C: execute_one_pass(opt_pass*) (passes.c:2149)
==20810==    by 0x92DE15: execute_pass_list_1(opt_pass*) (passes.c:2201)
==20810==    by 0x92DE27: execute_pass_list_1(opt_pass*) (passes.c:2202)
==20810==    by 0x92DE68: execute_pass_list(function*, opt_pass*)
(passes.c:2212)
==20810==    by 0x6997AF: expand_function(cgraph_node*) (cgraphunit.c:1776)
==20810==    by 0x69ADD3: compile() (cgraphunit.c:1910)
==20810==    by 0x69C874: finalize_compilation_unit() (cgraphunit.c:2331)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]