From: Martin Liska Date: Tue, 21 Mar 2017 12:04:17 +0000 (+0100) Subject: Fix another profiledbootstrap warning (PR libfortran/79956). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c68dda595080b8e53f4aef55571701e3de00cb74;p=gcc.git Fix another profiledbootstrap warning (PR libfortran/79956). 2017-03-21 Martin Liska PR libfortran/79956 * simplify-rtx.c (simplify_immed_subreg): Initialize a variable to NULL. From-SVN: r246317 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 225b189d080..5ce582bc527 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-21 Martin Liska + + PR libfortran/79956 + * simplify-rtx.c (simplify_immed_subreg): Initialize a variable + to NULL. + 2017-03-21 Brad Spengler PR plugins/80094 diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index fb04cd002ac..640ccb7cb95 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -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;