Fix uninitialized memory use in ipa-modref
authorJan Hubicka <jh@suse.cz>
Thu, 5 Nov 2020 14:25:14 +0000 (15:25 +0100)
committerJan Hubicka <jh@suse.cz>
Thu, 5 Nov 2020 14:25:14 +0000 (15:25 +0100)
commitea937e7d8730b4faa18bc67413dbb14567be7390
treeb5ec00705aa66bc172cdf501f436a2a480609648
parent432258be4f2cf4f0970f106db319e3dbab4ab13d
Fix uninitialized memory use in ipa-modref

* ipa-modref.c (parm_map_for_arg): Initialize parm_offset and
parm_offset_knonw.
(read_section): Set writes_errno to false.
gcc/ipa-modref.c