Fix aarch64 PGO bootstrap (bootstrap/78985)
authorMartin Liska <mliska@suse.cz>
Mon, 30 Jan 2017 15:16:33 +0000 (16:16 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 30 Jan 2017 15:16:33 +0000 (15:16 +0000)
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.

From-SVN: r245030

gcc/ChangeLog
gcc/config/aarch64/cortex-a57-fma-steering.c

index 0afa34476c3c80df350a12ce5318047df791f054..620c4b09ebaa6667a201a64736a11ffc18ab9307 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2017-01-30  Richard Earnshaw  <rearnsh@arm.com>
 
        PR target/79260
index a5acd71d7849a9668725257acb08664fc765aa49..4a3887984b4a0242b8a10bec0c6285ba184517ab 100644 (file)
@@ -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))