]> git.ipfire.org Git - thirdparty/gcc.git/commit
2018-05-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
authorprathamesh3492 <prathamesh3492@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 May 2018 06:07:48 +0000 (06:07 +0000)
committerprathamesh3492 <prathamesh3492@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 May 2018 06:07:48 +0000 (06:07 +0000)
commitd51fd3fc496fbf4e9a1a578539adceab056c8869
tree4cc4883b6dd1ef245b4bef9ff5fef8cf94775da0
parent9deb0d0954c6776cf07b260b14f7c62726da667f
2018-05-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>

PR tree-optimization/83648
* ipa-pure-const.c (malloc_candidate_p): Allow function with NULL
return value as malloc candidate.

testsuite/
* gcc.dg/tree-ssa/pr83648.c: New test.
* gcc.dg/tree-ssa/pr83648-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260250 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr83648-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr83648.c [new file with mode: 0644]