Fix another profiledbootstrap warning (PR libfortran/79956).
authorMartin Liska <mliska@suse.cz>
Tue, 21 Mar 2017 12:04:17 +0000 (13:04 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 21 Mar 2017 12:04:17 +0000 (12:04 +0000)
2017-03-21  Martin Liska  <mliska@suse.cz>

PR libfortran/79956
* simplify-rtx.c (simplify_immed_subreg): Initialize a variable
to NULL.

From-SVN: r246317

gcc/ChangeLog
gcc/simplify-rtx.c

index 225b189d080069dc3aecde3238e8fca01f2f49b2..5ce582bc527c4f4389634e6f1a7d6c7e8f7ac071 100644 (file)
@@ -1,3 +1,9 @@
+2017-03-21  Martin Liska  <mliska@suse.cz>
+
+       PR libfortran/79956
+       * simplify-rtx.c (simplify_immed_subreg): Initialize a variable
+       to NULL.
+
 2017-03-21  Brad Spengler <spender@grsecurity.net>
 
        PR plugins/80094
index fb04cd002ac86e6cd94ad1e42bbd968affeaa4fe..640ccb7cb95933a6991bf1599099f7aed455daec 100644 (file)
@@ -5711,7 +5711,7 @@ simplify_immed_subreg (machine_mode outermode, rtx op,
   int num_elem;
   rtx * elems;
   int elem_bitsize;
-  rtx result_s;
+  rtx result_s = NULL;
   rtvec result_v = NULL;
   enum mode_class outer_class;
   machine_mode outer_submode;