diff options
author | Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> | 2018-05-15 06:07:48 +0000 |
---|---|---|
committer | Prathamesh Kulkarni <prathamesh3492@gcc.gnu.org> | 2018-05-15 06:07:48 +0000 |
commit | a8c80d03d4e0fab9cf4edb7bd5acb7edafd2438c (patch) | |
tree | 4cc4883b6dd1ef245b4bef9ff5fef8cf94775da0 /gcc/alloc-pool.h | |
parent | 0fac5f2a7f15974deabf6432f4f510d0f4bcc6bc (diff) | |
download | gcc-a8c80d03d4e0fab9cf4edb7bd5acb7edafd2438c.zip gcc-a8c80d03d4e0fab9cf4edb7bd5acb7edafd2438c.tar.gz gcc-a8c80d03d4e0fab9cf4edb7bd5acb7edafd2438c.tar.bz2 |
re PR tree-optimization/83648 (missing -Wsuggest-attribute=malloc on a trivial malloc-like function)
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.
From-SVN: r260250
Diffstat (limited to 'gcc/alloc-pool.h')
0 files changed, 0 insertions, 0 deletions