Hi. Following patch simply fixes issues reported by -Wmaybe-unitialized. That enables PGO bootstrap on ThunderX aarch64 machine.
Ready to be installed? Martin
>From 6188df717836ee79f4d7951dca5066ef10b577a1 Mon Sep 17 00:00:00 2001 From: marxin <mli...@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 <mli...@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(-) 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)) -- 2.11.0