From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10299 invoked by alias); 4 Aug 2014 13:01:55 -0000 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 Received: (qmail 10246 invoked by uid 48); 4 Aug 2014 13:01:47 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/62009] Bootstrap failure in vec.h::splice Date: Mon, 04 Aug 2014 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg00198.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62009 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #2 from Markus Trippelsdorf --- 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*) (tree-ssa-loop-ivcanon.c:1149) ==20810== by 0xAFEDD0: tree_unroll_loops_completely_1(bool, bool, vec&, 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, 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*) (tree-ssa-loop-ivcanon.c:1149) ==20810== by 0xAFEDD0: tree_unroll_loops_completely_1(bool, bool, vec&, 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)