]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix min_flags handling in mod-ref
authorJan Hubicka <jh@suse.cz>
Wed, 11 Aug 2021 13:01:39 +0000 (15:01 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 7 Apr 2022 10:45:19 +0000 (12:45 +0200)
commit6822d6afdf215eb7b21bd7c90ea71153b3e1f3c7
tree3203813b0fef61f0ed9ef847ab738077674bb9c3
parenta77c9efdeb9ecad14ecca73db0e45fcd9d884382
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.

(cherry picked from commit 9851a1631f2915fafdc733539b6c8b5fb81e7ae5)
gcc/ipa-modref.c
gcc/testsuite/c-c++-common/modref-dse.c [new file with mode: 0644]