diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2018-10-04 11:06:24 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2018-10-04 11:06:24 +0000 |
commit | 9a471714928470c52b21586dd135658a02317c69 (patch) | |
tree | ab6181264f54875968f849d28ea8d210c8ee8551 /gcc/tree-profile.c | |
parent | 75fcc3eb1be8cd8079eb9e1840295ef950d6dc4a (diff) | |
download | gcc-9a471714928470c52b21586dd135658a02317c69.zip gcc-9a471714928470c52b21586dd135658a02317c69.tar.gz gcc-9a471714928470c52b21586dd135658a02317c69.tar.bz2 |
re PR tree-optimization/85787 (malloc_candidate_p fails to detect malloc attribute on nested phis)
2018-10-04 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
PR tree-optimization/85787
* ipa-pure-const.c (malloc_candidate_p_1): Move most of malloc_candidate_p
into this function and add support for detecting multiple phis.
(DUMP_AND_RETURN): Move from malloc_candidate_p into top-level macro.
testsuite/
* gcc.dg/ipa/propmalloc-4.c: New test.
From-SVN: r264838
Diffstat (limited to 'gcc/tree-profile.c')
0 files changed, 0 insertions, 0 deletions