[Bug tree-optimization/94352] New: Suspicious code in tree-ssa-propagate.c
fxue at os dot amperecomputing.com
gcc-bugzilla@gcc.gnu.org
Fri Mar 27 09:03:18 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94352
Bug ID: 94352
Summary: Suspicious code in tree-ssa-propagate.c
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: fxue at os dot amperecomputing.com
Target Milestone: ---
In function ssa_propagation_engine::ssa_propagate(), a call chain below might
lead to a reference to uninitialized data.
ssa_propagate() -> ssa_prop_init() -> add_control_edge() -> "curr_order"
But ssa_prop_init() is called before "curr_order" is initialized to 0.
More information about the Gcc-bugs
mailing list