aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-11-23 14:32:15 +0100
committerMartin Liska <marxin@gcc.gnu.org>2016-11-23 13:32:15 +0000
commit4987b1e0338c7e3e52c5390503134ea47f694db0 (patch)
tree76180fb0730901eaec413773accf13238a627724 /gcc
parente25350118c44492fed4ea9f168d0b8596d3d03fc (diff)
downloadgcc-4987b1e0338c7e3e52c5390503134ea47f694db0.zip
gcc-4987b1e0338c7e3e52c5390503134ea47f694db0.tar.gz
gcc-4987b1e0338c7e3e52c5390503134ea47f694db0.tar.bz2
i386.c: Initialize function pointer to NULL to prevent
* config/i386/i386.c: Initialize function pointer to NULL. From-SVN: r242752
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61af4e2..5891aa3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-23 Martin Liska <mliska@suse.cz>
+
+ * config/i386/i386.c: Initialize function pointer to NULL.
+
2016-11-23 Bin Cheng <bin.cheng@arm.com>
* 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 25f0446..aa52ba3 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;