https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85787

--- Comment #2 from prathamesh3492 at gcc dot gnu.org ---
Author: prathamesh3492
Date: Thu Oct  4 11:06:24 2018
New Revision: 264838

URL: https://gcc.gnu.org/viewcvs?rev=264838&root=gcc&view=rev
Log:
2018-10-04  Prathamesh Kulkarni  <prathamesh.kulka...@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.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/propmalloc-4.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-pure-const.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to