aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2017-03-03 15:38:31 +0100
committerYvan Roux <yvan.roux@linaro.org>2017-03-14 12:47:44 +0000
commitdcf0af7a59814004a5e46470ffd445e328c740e7 (patch)
tree0dddcdd7b6c5940f75e1f3c859a817b6dd6bc6be
parente9ba16e58e773af11ff15ddf539f524be157aed1 (diff)
gcc/
Backport from trunk r245030. 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. Change-Id: I18e87c74aa42106ffc4f7934918fb3cbb43a83d9
-rw-r--r--gcc/config/aarch64/cortex-a57-fma-steering.c6
1 files 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 b5f329f75a6..0e51c6727b1 100644
--- a/gcc/config/aarch64/cortex-a57-fma-steering.c
+++ b/gcc/config/aarch64/cortex-a57-fma-steering.c
@@ -922,10 +922,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))