Revert one more symbol_summary::get to ::get_create (PR ipa/86529).
authorMartin Liska <mliska@suse.cz>
Mon, 16 Jul 2018 13:33:23 +0000 (15:33 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 16 Jul 2018 13:33:23 +0000 (13:33 +0000)
commitc4d0acf8f7af9c0ab1023b1e09cb17ae9b537204
tree6bafd6ebfd99c088158e6e7277473321f1f32f5d
parent325a4c6e1100ef4cf88dc007c64d20fe9b9a6c2c
Revert one more symbol_summary::get to ::get_create (PR ipa/86529).

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

        PR ipa/86529
* ipa-pure-const.c (malloc_candidate_p): Revert ::get
        to ::get_create.
2018-07-16  Martin Liska  <mliska@suse.cz>

        PR ipa/86529
* g++.dg/ipa/pr86529.C: New test.

From-SVN: r262695
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr86529.C [new file with mode: 0644]