https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817
--- Comment #4 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Fri May 18 12:31:04 2018 New Revision: 260358 URL: https://gcc.gnu.org/viewcvs?rev=260358&root=gcc&view=rev Log: 2018-05-18 Prathamesh Kulkarni <prathamesh.kulka...@linaro.org> PR middle-end/85817 * ipa-pure-const.c (malloc_candidate_p): Remove the check integer_zerop for retval and return false if all args to phi are zero. testsuite/ * gcc.dg/tree-ssa/pr83648.c: Change scan-tree-dump to scan-tree-dump-not for h. Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-pure-const.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/pr83648.c