diff options
author | Martin Liska <mliska@suse.cz> | 2017-03-21 12:04:17 +0000 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2017-03-21 12:04:17 +0000 |
commit | ace9f0de45ca8dc0ee7ccf0e6ec1bd9251e49d5c (patch) | |
tree | 7a4589f9f707f245b39ff20d34b726cc3a7d967b | |
parent | e4b10602d7373aa4ff52fd2ad78954b4b8b6e574 (diff) |
Fix another profiledbootstrap warning (PR libfortran/79956).
2017-03-21 Martin Liska <mliska@suse.cz>
PR libfortran/79956
* simplify-rtx.c (simplify_immed_subreg): Initialize a variable
to NULL.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@246317 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 7 insertions, 1 deletions
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 <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 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; |