From: Martin Liska Date: Wed, 23 Nov 2016 13:32:15 +0000 (+0100) Subject: i386.c: Initialize function pointer to NULL to prevent X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4987b1e0338c7e3e52c5390503134ea47f694db0;p=gcc.git i386.c: Initialize function pointer to NULL to prevent * config/i386/i386.c: Initialize function pointer to NULL. From-SVN: r242752 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 61af4e2a066..5891aa3fc43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-11-23 Martin Liska + + * config/i386/i386.c: Initialize function pointer to NULL. + 2016-11-23 Bin Cheng * fold-const.c (fold_cond_expr_with_comparison): Move simplification diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 25f0446a5fd..aa52ba3f7a8 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -38218,7 +38218,7 @@ rdseed_step: && fcode <= IX86_BUILTIN__BDESC_ARGS2_LAST) { i = fcode - IX86_BUILTIN__BDESC_ARGS2_FIRST; - rtx (*fcn) (rtx, rtx, rtx, rtx); + rtx (*fcn) (rtx, rtx, rtx, rtx) = NULL; rtx (*fcn_mask) (rtx, rtx, rtx, rtx, rtx); rtx (*fcn_maskz) (rtx, rtx, rtx, rtx, rtx, rtx); int masked = 1;