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
This commit is contained in:
Jan Hubicka 2019-11-04 22:56:02 +01:00 committed by Jan Hubicka
parent 8ced1d76b1
commit 74b6e216b0
2 changed files with 6 additions and 0 deletions

View 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

View 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;
}