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 middle-end/67649] trunk build with valgrind fail in get_def_blocks_for Date: Mon, 21 Sep 2015 09:33:00 -0000 [thread overview] Message-ID: <bug-67649-4-yVfzePoI6Q@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-67649-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 --- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- ==122519== Invalid write of size 4 ==122519== at 0x107D4EF0: vn_nary_op_insert_into(vn_nary_op_s*, hash_table<vn_nary_op_hasher, xcallocator>*, bool) (tree-ssa-sccvn.c:2634) ==122519== by 0x107D528B: sccvn_dom_walker::record_cond(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4408) ==122519== by 0x107D55EB: sccvn_dom_walker::record_conds(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4448) ==122519== by 0x107DC503: sccvn_dom_walker::before_dom_children(basic_block_def*) (tree-ssa-sccvn.c:4550) ==122519== by 0x10BC99EB: dom_walker::walk(basic_block_def*) (domwalk.c:177) ==122519== by 0x107DE01F: run_scc_vn(vn_lookup_kind) (tree-ssa-sccvn.c:4680) ==122519== by 0x107AAD47: (anonymous namespace)::pass_fre::execute(function*) (tree-ssa-pre.c:4959) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055D99B: execute_pass_list_1(opt_pass*) (passes.c:2386) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== Address 0xe2be758 is 1,368 bytes inside a block of size 65,536 alloc'd ==122519== at 0x4093D9C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==122519== by 0x10D2562B: xmalloc (xmalloc.c:147) ==122519== by 0x10299047: allocate (memory-block.h:56) ==122519== by 0x10299047: base_pool_allocator<memory_block_pool>::allocate() (alloc-pool.h:366) ==122519== by 0x1033686F: allocate (alloc-pool.h:489) ==122519== by 0x1033686F: et_new_tree (et-forest.c:464) ==122519== by 0x102C2C07: calculate_dominance_info(cdi_direction) (dominance.c:651) ==122519== by 0x106C9EBB: (anonymous namespace)::pass_build_ssa::execute(function*) (tree-into-ssa.c:2379) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== by 0x1055E3AB: execute_ipa_pass_list(opt_pass*) (passes.c:2739) ==122519== by 0x10280E07: ipa_passes (cgraphunit.c:2259) ==122519== by 0x10280E07: symbol_table::compile() (cgraphunit.c:2400) ==122519== ==122519== Invalid read of size 4 ==122519== at 0x107D4EA4: vn_nary_op_insert_into(vn_nary_op_s*, hash_table<vn_nary_op_hasher, xcallocator>*, bool) (tree-ssa-sccvn.c:2636) ==122519== by 0x107D528B: sccvn_dom_walker::record_cond(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4408) ==122519== by 0x107D55EB: sccvn_dom_walker::record_conds(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4448) ==122519== by 0x107DC503: sccvn_dom_walker::before_dom_children(basic_block_def*) (tree-ssa-sccvn.c:4550) ==122519== by 0x10BC99EB: dom_walker::walk(basic_block_def*) (domwalk.c:177) ==122519== by 0x107DE01F: run_scc_vn(vn_lookup_kind) (tree-ssa-sccvn.c:4680) ==122519== by 0x107AAD47: (anonymous namespace)::pass_fre::execute(function*) (tree-ssa-pre.c:4959) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055D99B: execute_pass_list_1(opt_pass*) (passes.c:2386) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== Address 0xe2be758 is 1,368 bytes inside a block of size 65,536 alloc'd ==122519== at 0x4093D9C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==122519== by 0x10D2562B: xmalloc (xmalloc.c:147) ==122519== by 0x10299047: allocate (memory-block.h:56) ==122519== by 0x10299047: base_pool_allocator<memory_block_pool>::allocate() (alloc-pool.h:366) ==122519== by 0x1033686F: allocate (alloc-pool.h:489) ==122519== by 0x1033686F: et_new_tree (et-forest.c:464) ==122519== by 0x102C2C07: calculate_dominance_info(cdi_direction) (dominance.c:651) ==122519== by 0x106C9EBB: (anonymous namespace)::pass_build_ssa::execute(function*) (tree-into-ssa.c:2379) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== by 0x1055E3AB: execute_ipa_pass_list(opt_pass*) (passes.c:2739) ==122519== by 0x10280E07: ipa_passes (cgraphunit.c:2259) ==122519== by 0x10280E07: symbol_table::compile() (cgraphunit.c:2400) ==122519== ==122519== Invalid read of size 4 ==122519== at 0x107D2168: vn_nary_op_eq(vn_nary_op_s const*, vn_nary_op_s const*) (tree-ssa-sccvn.c:2421) ==122519== by 0x107E0147: equal (tree-ssa-sccvn.c:147) ==122519== by 0x107E0147: hash_table<vn_nary_op_hasher, xcallocator>::find_slot_with_hash(vn_nary_op_s* const&, unsigned int, insert_option) (hash-table.h:838) ==122519== by 0x107D4EAF: vn_nary_op_insert_into(vn_nary_op_s*, hash_table<vn_nary_op_hasher, xcallocator>*, bool) (tree-ssa-sccvn.c:2636) ==122519== by 0x107D528B: sccvn_dom_walker::record_cond(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4408) ==122519== by 0x107D55EB: sccvn_dom_walker::record_conds(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4448) ==122519== by 0x107DC503: sccvn_dom_walker::before_dom_children(basic_block_def*) (tree-ssa-sccvn.c:4550) ==122519== by 0x10BC99EB: dom_walker::walk(basic_block_def*) (domwalk.c:177) ==122519== by 0x107DE01F: run_scc_vn(vn_lookup_kind) (tree-ssa-sccvn.c:4680) ==122519== by 0x107AAD47: (anonymous namespace)::pass_fre::execute(function*) (tree-ssa-pre.c:4959) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055D99B: execute_pass_list_1(opt_pass*) (passes.c:2386) ==122519== Address 0xe2be758 is 1,368 bytes inside a block of size 65,536 alloc'd ==122519== at 0x4093D9C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==122519== by 0x10D2562B: xmalloc (xmalloc.c:147) ==122519== by 0x10299047: allocate (memory-block.h:56) ==122519== by 0x10299047: base_pool_allocator<memory_block_pool>::allocate() (alloc-pool.h:366) ==122519== by 0x1033686F: allocate (alloc-pool.h:489) ==122519== by 0x1033686F: et_new_tree (et-forest.c:464) ==122519== by 0x102C2C07: calculate_dominance_info(cdi_direction) (dominance.c:651) ==122519== by 0x106C9EBB: (anonymous namespace)::pass_build_ssa::execute(function*) (tree-into-ssa.c:2379) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== by 0x1055E3AB: execute_ipa_pass_list(opt_pass*) (passes.c:2739) ==122519== by 0x10280E07: ipa_passes (cgraphunit.c:2259) ==122519== by 0x10280E07: symbol_table::compile() (cgraphunit.c:2400) ==122519== ==122519== Invalid write of size 8 ==122519== at 0x409AAD4: memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==122519== by 0x107D4F77: alloc_vn_nary_op (tree-ssa-sccvn.c:2615) ==122519== by 0x107D4F77: vn_nary_op_insert_pieces(unsigned int, tree_code, tree_node*, tree_node**, tree_node*, unsigned int) (tree-ssa-sccvn.c:2652) ==122519== by 0x107D528B: sccvn_dom_walker::record_cond(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4408) ==122519== by 0x107D5607: sccvn_dom_walker::record_conds(basic_block_def*, tree_code, tree_node*, tree_node*, bool) (tree-ssa-sccvn.c:4449) ==122519== by 0x107DC503: sccvn_dom_walker::before_dom_children(basic_block_def*) (tree-ssa-sccvn.c:4550) ==122519== by 0x10BC99EB: dom_walker::walk(basic_block_def*) (domwalk.c:177) ==122519== by 0x107DE01F: run_scc_vn(vn_lookup_kind) (tree-ssa-sccvn.c:4680) ==122519== by 0x107AAD47: (anonymous namespace)::pass_fre::execute(function*) (tree-ssa-pre.c:4959) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055D99B: execute_pass_list_1(opt_pass*) (passes.c:2386) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== Address 0xe2be7a8 is 1,448 bytes inside a block of size 65,536 alloc'd ==122519== at 0x4093D9C: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-ppc64le-linux.so) ==122519== by 0x10D2562B: xmalloc (xmalloc.c:147) ==122519== by 0x10299047: allocate (memory-block.h:56) ==122519== by 0x10299047: base_pool_allocator<memory_block_pool>::allocate() (alloc-pool.h:366) ==122519== by 0x1033686F: allocate (alloc-pool.h:489) ==122519== by 0x1033686F: et_new_tree (et-forest.c:464) ==122519== by 0x102C2C07: calculate_dominance_info(cdi_direction) (dominance.c:651) ==122519== by 0x106C9EBB: (anonymous namespace)::pass_build_ssa::execute(function*) (tree-into-ssa.c:2379) ==122519== by 0x1055D46F: execute_one_pass(opt_pass*) (passes.c:2332) ==122519== by 0x1055D983: execute_pass_list_1(opt_pass*) (passes.c:2385) ==122519== by 0x1055DA23: execute_pass_list(function*, opt_pass*) (passes.c:2396) ==122519== by 0x1055BA6F: do_per_function_toporder(void (*)(function*, void*), void*) (passes.c:1729) ==122519== by 0x1055E3AB: execute_ipa_pass_list(opt_pass*) (passes.c:2739) ==122519== by 0x10280E07: ipa_passes (cgraphunit.c:2259) ==122519== by 0x10280E07: symbol_table::compile() (cgraphunit.c:2400)
next prev parent reply other threads:[~2015-09-21 9:33 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-20 15:12 [Bug c/67649] New: " dcb314 at hotmail dot com 2015-09-21 7:41 ` [Bug middle-end/67649] " rguenth at gcc dot gnu.org 2015-09-21 8:44 ` dcb314 at hotmail dot com 2015-09-21 9:28 ` trippels at gcc dot gnu.org 2015-09-21 9:33 ` trippels at gcc dot gnu.org [this message] 2015-09-21 9:35 ` trippels at gcc dot gnu.org 2015-09-21 10:42 ` trippels at gcc dot gnu.org 2015-09-21 11:20 ` trippels at gcc dot gnu.org 2015-09-22 2:39 ` miyuki at gcc dot gnu.org 2015-09-22 2:42 ` miyuki at gcc dot gnu.org 2015-09-22 6:41 ` trippels at gcc dot gnu.org 2015-09-23 2:31 ` miyuki at gcc dot gnu.org 2015-09-23 2:41 ` miyuki 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-67649-4-yVfzePoI6Q@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: linkBe 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).