[Bug ipa/71234] New: Conditional jump or move depends on uninitialised value in ipa_get_indirect_edge_target_1 (ipa-cp.c:2029)
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 23 09:50:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71234
Bug ID: 71234
Summary: Conditional jump or move depends on uninitialised
value in ipa_get_indirect_edge_target_1
(ipa-cp.c:2029)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Starting from r236416, following valgrind issues in seen on a test-case:
valgrind --leak-check=yes --trace-children=yes ./xgcc -B.
/home/marxin/Programming/gcc/gcc/testsuite/gcc.c-torture/compile/pr43845.c -O2
-c
==31514== Conditional jump or move depends on uninitialised value(s)
==31514== at 0x186EE29: ipa_get_indirect_edge_target_1(cgraph_edge*,
vec<tree_node*, va_heap, vl_ptr>, vec<ipa_polymorphic_call_context, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>,
ipa_agg_replacement_value*, bool*) (ipa-cp.c:2029)
==31514== by 0x186F73C: ipa_get_indirect_edge_target(cgraph_edge*,
vec<tree_node*, va_heap, vl_ptr>, vec<ipa_polymorphic_call_context, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>, bool*) (ipa-cp.c:2203)
==31514== by 0x186F796: devirtualization_time_bonus(cgraph_node*,
vec<tree_node*, va_heap, vl_ptr>, vec<ipa_polymorphic_call_context, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>) (ipa-cp.c:2227)
==31514== by 0x18702DB: estimate_local_effects(cgraph_node*) (ipa-cp.c:2528)
==31514== by 0x1871063: propagate_constants_topo(ipa_topo_info*)
(ipa-cp.c:2851)
==31514== by 0x1871352: ipcp_propagate_stage(ipa_topo_info*) (ipa-cp.c:2952)
==31514== by 0x1874D4B: ipcp_driver() (ipa-cp.c:4614)
==31514== by 0x1874F20: (anonymous
namespace)::pass_ipa_cp::execute(function*) (ipa-cp.c:4706)
==31514== by 0xD92F48: execute_one_pass(opt_pass*) (passes.c:2344)
==31514== by 0xD93E94: execute_ipa_pass_list(opt_pass*) (passes.c:2774)
==31514== by 0x998496: ipa_passes() (cgraphunit.c:2319)
==31514== by 0x9987AA: symbol_table::compile() (cgraphunit.c:2405)
Thanks,
Martin
More information about the Gcc-bugs
mailing list