Support ofsetted parameters in local modref
authorJan Hubicka <jh@suse.cz>
Wed, 14 Oct 2020 09:44:30 +0000 (11:44 +0200)
committerJan Hubicka <jh@suse.cz>
Wed, 14 Oct 2020 09:44:30 +0000 (11:44 +0200)
commitc7b6a7587f215e913cec9ed523bf32bb0405fd3f
treee45f2f02121bc6526d9504f484dec745dea32fc9
parent87d75a11a5cb93668ae0bf6d97030e01b2eae3f2
Support ofsetted parameters in local modref

2020-10-14  Jan Hubicka  <hubicka@ucw.cz>

* doc/invoke.texi: (ipa-jump-function-lookups): Document param.
* ipa-modref.c (merge_call_side_effects): Use
unadjusted_ptr_and_unit_offset.
* ipa-prop.c (unadjusted_ptr_and_unit_offset): New function.
* ipa-prop.h (unadjusted_ptr_and_unit_offset): Declare.
* params.opt: (-param-ipa-jump-function-lookups): New.
gcc/doc/invoke.texi
gcc/ipa-modref.c
gcc/ipa-prop.c
gcc/ipa-prop.h
gcc/params.opt