From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 773 invoked by alias); 13 Oct 2013 12:14:10 -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 690 invoked by uid 48); 13 Oct 2013 12:14:04 -0000 From: "markus at trippelsdorf dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/58712] New: [4.9 Regression] issues found by --enable-checking=valgrind Date: Sun, 13 Oct 2013 12:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markus at trippelsdorf dot de X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: 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: 2013-10/txt/msg00721.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712 Bug ID: 58712 Summary: [4.9 Regression] issues found by --enable-checking=valgrind Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: markus at trippelsdorf dot de 1) ==4348== Conditional jump or move depends on uninitialised value(s) ==4348== at 0x5CF50C: cgraph_create_edge_1(cgraph_node*, cgraph_node*, gimple_statement_d*, long, int) (cgraph.c:695) ==4348== by 0x5D005E: cgraph_create_edge(cgraph_node*, cgraph_node*, gimple_statement_d*, long, int) (cgraph.c:890) ==4348== by 0x5D80A1: cgraph_clone_edge(cgraph_edge*, cgraph_node*, gimple_statement_d*, unsigned int, long, int, bool) (cgraphclones.c:135) ==4348== by 0x86C7E4: copy_body(copy_body_data*, long, int, basic_block_def*, basic_block_def*, basic_block_def*) (tree-inline.c:1741) ==4348== by 0x86F94F: optimize_inline_calls(tree_node*) (tree-inline.c:4258) ==4348== by 0xC0029A: (anonymous namespace)::pass_early_inline::execute() (ipa-inline.c:2257) ==4348== by 0x793AA9: execute_one_pass(opt_pass*) (passes.c:2202) ==4348== by 0x793C55: execute_pass_list(opt_pass*) (passes.c:2254) ==4348== by 0x7926C2: do_per_function_toporder(void (*)(void*), void*) (passes.c:1620) ==4348== by 0x7941A6: execute_ipa_pass_list(opt_pass*) (passes.c:2572) ==4348== by 0x5D7721: compile() (cgraphunit.c:1981) ==4348== by 0x5D7E24: finalize_compilation_unit() (cgraphunit.c:2269) ==4348== Probably caused by r201632. 2) ==9588== Use of uninitialised value of size 8 ==9588== at 0x8704C5: pointer_set_lookup(pointer_set_t const*, void const*, unsigned long*) (pointer-set.c:90) ==9588== by 0x870544: pointer_set_insert(pointer_set_t*, void const*) (pointer-set.c:147) ==9588== by 0x6AB402: analyze_functions() (cgraphunit.c:847) ==9588== by 0x6AC415: finalize_compilation_unit() (cgraphunit.c:2260) ==9588== by 0x568435: cp_write_global_declarations() (decl2.c:4421) ==9588== by 0x90095C: compile_file() (toplev.c:560) ==9588== by 0x902499: toplev_main(int, char**) (toplev.c:1893) ==9588== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so) ==9588== ==9588== Conditional jump or move depends on uninitialised value(s) ==9588== at 0x8704CC: pointer_set_lookup(pointer_set_t const*, void const*, unsigned long*) (pointer-set.c:90) ==9588== by 0x870544: pointer_set_insert(pointer_set_t*, void const*) (pointer-set.c:147) ==9588== by 0x6AB402: analyze_functions() (cgraphunit.c:847) ==9588== by 0x6AC415: finalize_compilation_unit() (cgraphunit.c:2260) ==9588== by 0x568435: cp_write_global_declarations() (decl2.c:4421) ==9588== by 0x90095C: compile_file() (toplev.c:560) ==9588== by 0x902499: toplev_main(int, char**) (toplev.c:1893) ==9588== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so) Probably caused by r200367. 3) ==1269== Invalid write of size 8 ==1269== at 0x63BDBD: iterative_hash_canonical_type(tree_node*, unsigned int) (gimple.c:3220) ==1269== by 0xC224F1: htab_find_slot (hashtab.c:704) ==1269== by 0x641818: gimple_register_canonical_type(tree_node*) (gimple.c:3488) ==1269== by 0x504AEB: lto_read_decls(lto_file_decl_data*, void const*, vec) (lto.c:2495) ==1269== by 0x505CBB: lto_main() (lto.c:2786) ==1269== by 0x7B3A95: compile_file() (toplev.c:546) ==1269== by 0x7B5619: toplev_main(int, char**) (toplev.c:1893) ==1269== by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so) ==1269== Address 0x40325a0 is not stack'd, malloc'd or (recently) free'd This is an older issue, see PR55358 for more info.