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 other/58712] [4.9 Regression] issues found by --enable-checking=valgrind


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712

octoploid at yandex dot com changed:

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

--- Comment #8 from octoploid at yandex dot com ---
Too summarize. There are three different issues right now. 
Issue 2) from above is still unfixed.
Plus two new issues. 

1) (This is issue 2 from above) 
==23547== Use of uninitialised value of size 8
==23547==    at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547==    by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==23547==    by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547==    by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547==    by 0x91709C: compile_file() (toplev.c:559)
==23547==    by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547==  Uninitialised value was created by a stack allocation
==23547==    at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547== 
==23547== Conditional jump or move depends on uninitialised value(s)
==23547==    at 0x886D9C: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547==    by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==23547==    by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547==    by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547==    by 0x91709C: compile_file() (toplev.c:559)
==23547==    by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547==  Uninitialised value was created by a stack allocation
==23547==    at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547== 
==23547== Use of uninitialised value of size 8
==23547==    at 0x886E27: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:150)
==23547==    by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==23547==    by 0x6BBECF: compile() (cgraphunit.c:1993)
==23547==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547==    by 0x91709C: compile_file() (toplev.c:559)
==23547==    by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547==  Uninitialised value was created by a stack allocation
==23547==    at 0x7EE8B0: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:289)
==23547== 
==23547== Use of uninitialised value of size 8
==23547==    at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==23547==    by 0x886DCD: pointer_set_contains(pointer_set_t const*, void
const*) (pointer-set.c:116)
==23547==    by 0x7D1356: (anonymous namespace)::pass_ipa_devirt::execute()
(ipa-devirt.c:1027)
==23547==    by 0x87DD29: execute_one_pass(opt_pass*) (passes.c:2215)
==23547==    by 0x87E56A: execute_ipa_pass_list(opt_pass*) (passes.c:2579)
==23547==    by 0x6BC003: compile() (cgraphunit.c:2028)
==23547==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==23547==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==23547==    by 0x91709C: compile_file() (toplev.c:559)
==23547==    by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==23547==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==23547==  Uninitialised value was created by a stack allocation
==23547==    at 0x7D1050: (anonymous namespace)::pass_ipa_devirt::execute()
(ipa-devirt.c:1182)

==26207== Use of uninitialised value of size 8
==26207==    at 0x886D95: pointer_set_lookup(pointer_set_t const*, void const*,
unsigned long*) (pointer-set.c:90)
==26207==    by 0x886E14: pointer_set_insert(pointer_set_t*, void const*)
(pointer-set.c:147)
==26207==    by 0x7EEDB4: symtab_remove_unreachable_nodes(bool, _IO_FILE*)
(ipa.c:175)
==26207==    by 0x6BBD0C: compile() (cgraphunit.c:2152)
==26207==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==26207==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==26207==    by 0x91709C: compile_file() (toplev.c:559)
==26207==    by 0x918B97: toplev_main(int, char**) (toplev.c:1891)
==26207==    by 0x4ED5A6D: (below main) (in /lib64/libc-2.18.90.so)
==26207==  Uninitialised value was created by a stack allocation
==26207==    at 0x6BDEA5: cgraph_materialize_all_clones() (cgraphclones.c:1017)

2) New issue, caused by r204212 (vmakarov):
==25791== Conditional jump or move depends on uninitialised value(s)
==25791==    at 0x72ED2C: record_operand_costs(rtx_def*, reg_class*)
(ira-costs.c:1227)
==25791==    by 0x72F014: process_bb_for_costs(basic_block_def*)
(ira-costs.c:1346)
==25791==    by 0x72A64D: ira_traverse_loop_tree(bool, ira_loop_tree_node*,
void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*))
(ira-build.c:1825)
==25791==    by 0x730CF9: find_costs_and_classes(_IO_FILE*) (ira-costs.c:1576)
==25791==    by 0x731059: ira_costs() (ira-costs.c:2098)
==25791==    by 0x72BCA6: ira_build() (ira-build.c:3430)
==25791==    by 0x724910: (anonymous namespace)::pass_ira::execute()
(ira.c:5067)
==25791==    by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25791==    by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25791==    by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25791==    by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25791==    by 0x5E9516: compile() (cgraphunit.c:1858)
==25791==  Uninitialised value was created by a stack allocation
==25791==    at 0x72EAE0: record_operand_costs(rtx_def*, reg_class*)
(ira-costs.c:1149)

3) New issue.
==25556== Conditional jump or move depends on uninitialised value(s)
==25556==    at 0xA5603D: get_attr_length_nobnd(rtx_def*) (sse.md:4626)
==25556==    by 0xA65BAA: insn_min_length(rtx_def*) (i386.md:478)
==25556==    by 0x686170: shorten_branches(rtx_def*) (final.c:1191)
==25556==    by 0x6863CF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==25556==    by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25556==    by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25556==    by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556==    by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556==    by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25556==    by 0x5E9516: compile() (cgraphunit.c:1858)
==25556==    by 0x5E9834: finalize_compilation_unit() (cgraphunit.c:2272)
==25556==    by 0x50CF9B: c_write_global_declarations() (c-decl.c:10287)
==25556==  Uninitialised value was created by a heap allocation
==25556==    at 0x40274F0: malloc (vg_replace_malloc.c:291)
==25556==    by 0xCDC0B7: xmalloc (xmalloc.c:147)
==25556==    by 0x685AC2: shorten_branches(rtx_def*) (final.c:1005)
==25556==    by 0x6863CF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==25556==    by 0x7ABAF9: execute_one_pass(opt_pass*) (passes.c:2215)
==25556==    by 0x7ABD85: execute_pass_list(opt_pass*) (passes.c:2267)
==25556==    by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556==    by 0x7ABD97: execute_pass_list(opt_pass*) (passes.c:2268)
==25556==    by 0x5E7CB4: expand_function(cgraph_node*) (cgraphunit.c:1753)
==25556==    by 0x5E9516: compile() (cgraphunit.c:1858)
==25556==    by 0x5E9834: finalize_compilation_unit() (cgraphunit.c:2272)
==25556==    by 0x50CF9B: c_write_global_declarations() (c-decl.c:10287)

==24916== Conditional jump or move depends on uninitialised value(s)
==24916==    at 0xB28164: get_attr_length_nobnd(rtx_def*) (sse.md:4648)
==24916==    by 0xB37C3A: insn_min_length(rtx_def*) (i386.md:478)
==24916==    by 0x758E50: shorten_branches(rtx_def*) (final.c:1191)
==24916==    by 0x7590AF: (anonymous
namespace)::pass_shorten_branches::execute() (final.c:4520)
==24916==    by 0x87DD29: execute_one_pass(opt_pass*) (passes.c:2215)
==24916==    by 0x87DFB5: execute_pass_list(opt_pass*) (passes.c:2267)
==24916==    by 0x87DFC7: execute_pass_list(opt_pass*) (passes.c:2268)
==24916==    by 0x87DFC7: execute_pass_list(opt_pass*) (passes.c:2268)
==24916==    by 0x6BAA34: expand_function(cgraph_node*) (cgraphunit.c:1753)
==24916==    by 0x6BC296: compile() (cgraphunit.c:1858)
==24916==    by 0x6BC5B4: finalize_compilation_unit() (cgraphunit.c:2272)
==24916==    by 0x57618D: cp_write_global_declarations() (decl2.c:4403)
==24916==  Uninitialised value was created by a client request
==24916==    at 0x663D21: ggc_internal_alloc_stat(unsigned long)
(ggc-page.c:1339)
==24916==    by 0x8CED41: rtx_alloc_stat(rtx_code) (ggc.h:257)
==24916==    by 0xB0363E: legitimize_pic_address(rtx_def*, rtx_def*)
(genrtl.h:335)
==24916==    by 0xB07A70: ix86_expand_move(machine_mode, rtx_def**)
(i386.c:16436)
==24916==    by 0xB87776: gen_movdi(rtx_def*, rtx_def*) (i386.md:1844)
==24916==    by 0x7492FA: emit_move_insn_1(rtx_def*, rtx_def*) (recog.h:284)
==24916==    by 0x7495E5: emit_move_insn(rtx_def*, rtx_def*) (expr.c:3547)
==24916==    by 0x68EA76: expand_call(tree_node*, rtx_def*, int) (calls.c:1908)
==24916==    by 0x746F3C: expand_expr_real_1(tree_node*, rtx_def*,
machine_mode, expand_modifier, rtx_def**) (expr.c:10172)
==24916==    by 0x69A114: expand_gimple_stmt(gimple_statement_d*)
(cfgexpand.c:2203)
==24916==    by 0x69AECC: expand_gimple_basic_block(basic_block_def*, bool)
(cfgexpand.c:5092)
==24916==    by 0x69CDB6: (anonymous namespace)::pass_expand::execute()
(cfgexpand.c:5657)


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