From 74b6e216b0fc00579899ac65cb44aad9e892e344 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 4 Nov 2019 22:56:02 +0100 Subject: [PATCH] ipa-reference.c (init_function_info): Initialize info->global.statics_read. * ipa-reference.c (init_function_info): Initialize info->global.statics_read. From-SVN: r277795 --- gcc/ChangeLog | 5 +++++ gcc/ipa-reference.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bdd5ffddbd..07d9e5048f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-11-04 Jan Hubicka + + * ipa-reference.c (init_function_info): Initialize + info->global.statics_read. + 2019-11-04 Aldy Hernandez * tree-vrp.c (value_range_base::invert): Use constructors to build diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index feee92de545..09aa9280d0f 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -492,6 +492,7 @@ init_function_info (struct cgraph_node *fn) info->local.statics_read = BITMAP_ALLOC (&local_info_obstack); info->local.statics_written = BITMAP_ALLOC (&local_info_obstack); + info->global.statics_read = NULL; return &info->local; } -- 2.30.2