From 4987b1e0338c7e3e52c5390503134ea47f694db0 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 23 Nov 2016 14:32:15 +0100 Subject: [PATCH] i386.c: Initialize function pointer to NULL to prevent * config/i386/i386.c: Initialize function pointer to NULL. From-SVN: r242752 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.30.2