Revert 2 ::get to ::get_create for IPA summaries (PR ipa/86279).
authorMartin Liska <mliska@suse.cz>
Mon, 2 Jul 2018 07:04:20 +0000 (09:04 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 2 Jul 2018 07:04:20 +0000 (07:04 +0000)
commit61c74e84bb802ab0c63cc23705b1202f65453337
tree2783059ff103ea10fc51c1a6f1eb994ae302c7f5
parentb412559eaf51e1a6566dcbb16cca3ceba159343e
Revert 2 ::get to ::get_create for IPA summaries (PR ipa/86279).

2018-07-02  Martin Liska  <mliska@suse.cz>

        PR ipa/86279
* ipa-pure-const.c (malloc_candidate_p): Revert usage of ::get.
(propagate_nothrow): Likewise.
2018-07-02  Martin Liska  <mliska@suse.cz>

        PR ipa/86279
* gcc.dg/ipa/pr86279.c: New test.

From-SVN: r262298
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr86279.c [new file with mode: 0644]