]> git.ipfire.org Git - thirdparty/gcc.git/commit
Handle POINTER_PLUS_EXPR in jump functions in ipa-modref.
authorJan Hubicka <jh@suse.cz>
Wed, 14 Oct 2020 14:01:39 +0000 (16:01 +0200)
committerJan Hubicka <jh@suse.cz>
Wed, 14 Oct 2020 14:01:39 +0000 (16:01 +0200)
commit4d90edb96e199e2e73ba71de5ab3b7c1c0aad6d0
tree0a6e42042ff91a4b4b50b58f59ee66d71d9cada5
parent4aa9742252ea419947fe32ff64c7546c92286b96
Handle POINTER_PLUS_EXPR in jump functions in ipa-modref.

gcc/ChangeLog:

* ipa-modref.c (compute_parm_map): Handle POINTER_PLUS_EXPR in
PASSTHROUGH.

gcc/testsuite/ChangeLog:

* gcc.dg/ipa/modref-1.c: New test.
* gcc.dg/tree-ssa/modref-4.c: New test.
gcc/ipa-modref.c
gcc/testsuite/gcc.dg/ipa/modref-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/modref-4.c [new file with mode: 0644]