public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-62009-4-QjOWHNdmpc@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-62009-4@http.gcc.gnu.org/bugzilla/>

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)


  parent reply	other threads:[~2014-08-04 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 11:51 [Bug bootstrap/62009] New: Bootstrap failure on i686 izamyatin at gmail dot com
2014-08-04 12:47 ` [Bug bootstrap/62009] Bootstrap failure in vec.h::splice jgreenhalgh at gcc dot gnu.org
2014-08-04 13:01 ` trippels at gcc dot gnu.org [this message]
2021-09-01  0:50 ` [Bug bootstrap/62009] [5 Regression] " pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-62009-4-QjOWHNdmpc@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).