Fix min_flags handling in mod-ref
commit9851a1631f2915fafdc733539b6c8b5fb81e7ae5
authorJan Hubicka <jh@suse.cz>
Wed, 11 Aug 2021 13:01:39 +0000 (11 15:01 +0200)
committerJan Hubicka <jh@suse.cz>
Wed, 11 Aug 2021 13:01:39 +0000 (11 15:01 +0200)
tree6ec5d79b94267126a39a6ce0c68e22be7c40c170
parentd7e91f4894f6a1a2daeec5cbe1e912bb896b9f7a
Fix min_flags handling in mod-ref

gcc/ChangeLog:

2021-08-11  Jan Hubicka  <hubicka@ucw.cz>
    Alexandre Oliva  <oliva@adacore.com>

* ipa-modref.c (modref_lattice::dump): Fix escape_point's min_flags
dumping.
(modref_lattice::merge_deref): Fix handling of indirect scape points.
(update_escape_summary_1): Likewise.
(update_escape_summary): Likewise.
(ipa_merge_modref_summary_after_inlining): Likewise.

gcc/testsuite/ChangeLog:

* c-c++-common/modref-dse.c: New test.
gcc/ipa-modref.c
gcc/testsuite/c-c++-common/modref-dse.c [new file with mode: 0644]