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.

Reply via email to