From 6188df717836ee79f4d7951dca5066ef10b577a1 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Mon, 30 Jan 2017 10:44:07 +0100
Subject: [PATCH] Fix aarch64 PGO bootstrap (bootstrap/78985)
gcc/ChangeLog:
2017-01-30 Martin Liska <mliska@suse.cz>
PR bootstrap/78985
* config/aarch64/cortex-a57-fma-steering.c (func_fma_steering::analyze):
Initialize variables with NULL value.
---
gcc/config/aarch64/cortex-a57-fma-steering.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
@@ -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))
--
2.11.0