From: Martin Liska Date: Mon, 30 Jan 2017 15:16:33 +0000 (+0100) Subject: Fix aarch64 PGO bootstrap (bootstrap/78985) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fd23c8e9ff446200401354d810a9c144ee72e65;p=gcc.git Fix aarch64 PGO bootstrap (bootstrap/78985) 2017-01-30 Martin Liska PR bootstrap/78985 * config/aarch64/cortex-a57-fma-steering.c (func_fma_steering::analyze): Initialize variables with NULL value. From-SVN: r245030 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0afa34476c3..620c4b09eba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-01-30 Martin Liska + + PR bootstrap/78985 + * config/aarch64/cortex-a57-fma-steering.c (func_fma_steering::analyze): + Initialize variables with NULL value. + 2017-01-30 Richard Earnshaw PR target/79260 diff --git a/gcc/config/aarch64/cortex-a57-fma-steering.c b/gcc/config/aarch64/cortex-a57-fma-steering.c index a5acd71d784..4a3887984b4 100644 --- a/gcc/config/aarch64/cortex-a57-fma-steering.c +++ b/gcc/config/aarch64/cortex-a57-fma-steering.c @@ -923,10 +923,10 @@ func_fma_steering::analyze () FOR_BB_INSNS (bb, insn) { operand_rr_info *dest_op_info; - struct du_chain *chain; + struct du_chain *chain = NULL; unsigned dest_regno; - fma_forest *forest; - du_head_p head; + fma_forest *forest = NULL; + du_head_p head = NULL; int i; if (!is_fmul_fmac_insn (insn, true))