ipa-reference.c (init_function_info): Initialize info->global.statics_read.
authorJan Hubicka <jh@suse.cz>
Mon, 4 Nov 2019 21:56:02 +0000 (22:56 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 4 Nov 2019 21:56:02 +0000 (21:56 +0000)
* ipa-reference.c (init_function_info): Initialize
info->global.statics_read.

From-SVN: r277795

gcc/ChangeLog
gcc/ipa-reference.c

index 6bdd5ffddbd7b2c01d0cb13c066c2f0b06d49fb1..07d9e5048f64c8bc5a84888d64fe4959bc1eb122 100644 (file)
@@ -1,3 +1,8 @@
+2019-11-04  Jan Hubicka  <jh@suse.cz>
+
+       * ipa-reference.c (init_function_info): Initialize
+       info->global.statics_read.
+
 2019-11-04  Aldy Hernandez  <aldyh@redhat.com>
 
        * tree-vrp.c (value_range_base::invert): Use constructors to build
index feee92de545254848207eea7dbfcc98dce5023eb..09aa9280d0fc0a4e57ec04604bda86bae0716e0f 100644 (file)
@@ -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;
 }