From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1331 invoked by alias); 24 Nov 2013 09:52:50 -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 1266 invoked by uid 48); 24 Nov 2013 09:52:45 -0000 From: "octoploid at yandex dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/58712] [4.9 Regression] issues found by --enable-checking=valgrind Date: Sun, 24 Nov 2013 09:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: octoploid at yandex dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: 2013-11/txt/msg02456.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58712 --- Comment #10 from Markus Trippelsdorf --- New issue, started with r204926, r204997: ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0x686F3A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2998) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763) ==21374== by 0x5FE477: compile() (cgraphunit.c:1868) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0x6695B8: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:402) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Use of uninitialised value of size 8 ==21374== at 0xD37236: htab_find_slot_with_hash (hashtab.c:655) ==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:412) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0xD370B8: htab_find_slot_with_hash (hashtab.c:660) ==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:412) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0xD37120: htab_find_slot_with_hash (hashtab.c:668) ==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:412) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Use of uninitialised value of size 8 ==21374== at 0xD37134: htab_find_slot_with_hash (hashtab.c:671) ==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:412) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0xD3714D: htab_find_slot_with_hash (hashtab.c:679) ==21374== by 0x6695E5: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:412) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Use of uninitialised value of size 8 ==21374== at 0x6695E9: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:413) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Use of uninitialised value of size 8 ==21374== at 0x669608: gen_rtx_CONST_INT(machine_mode, long) (emit-rtl.c:414) ==21374== by 0x686F4A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (optabs.h:485) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== by 0x7CC189: execute_one_pass(opt_pass*) (passes.c:2215) ==21374== by 0x7CC3F5: execute_pass_list(opt_pass*) (passes.c:2268) ==21374== by 0x5FCB95: expand_function(cgraph_node*) (cgraphunit.c:1763) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374== ==21374== Conditional jump or move depends on uninitialised value(s) ==21374== at 0x7EDF21: const_int_operand(rtx_def*, machine_mode) (recog.c:1164) ==21374== by 0x7B976F: maybe_legitimize_operands(insn_code, unsigned int, unsigned int, expand_operand*) (optabs.c:8157) ==21374== by 0x7B983D: maybe_gen_insn(insn_code, unsigned int, expand_operand*) (optabs.c:8207) ==21374== by 0x7B9E38: maybe_expand_insn(insn_code, unsigned int, expand_operand*) (optabs.c:8250) ==21374== by 0x686E0A: set_storage_via_setmem(rtx_def*, rtx_def*, rtx_def*, unsigned int, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:3003) ==21374== by 0x691B2D: clear_storage_hints(rtx_def*, rtx_def*, block_op_methods, unsigned int, long, unsigned long, unsigned long, unsigned long) (expr.c:2812) ==21374== by 0x5B65EB: expand_builtin_memset_args(tree_node*, tree_node*, tree_node*, rtx_def*, machine_mode, tree_node*) (builtins.c:3760) ==21374== by 0x5C5711: expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) (builtins.c:6161) ==21374== by 0x689CC2: expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**) (expr.c:10275) ==21374== by 0x5DB8A6: expand_gimple_stmt(gimple_statement_base*) (cfgexpand.c:2245) ==21374== by 0x5DC36C: expand_gimple_basic_block(basic_block_def*, bool) (cfgexpand.c:5135) ==21374== by 0x5DE4B6: (anonymous namespace)::pass_expand::execute() (cfgexpand.c:5701) ==21374== Uninitialised value was created by a stack allocation ==21374== at 0x5B66B9: expand_builtin_memset(tree_node*, rtx_def*, machine_mode) (builtins.c:3633) ==21374==