From c68dda595080b8e53f4aef55571701e3de00cb74 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 21 Mar 2017 13:04:17 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/simplify-rtx.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.30.2