Re: PR88788 - Infinite loop in malloc_candidate_p_1

2019-01-15 Thread Prathamesh Kulkarni
On Tue, 15 Jan 2019 at 14:33, Richard Biener wrote: > > On Tue, 15 Jan 2019, Jakub Jelinek wrote: > > > On Tue, Jan 15, 2019 at 12:29:21PM +0530, Prathamesh Kulkarni wrote: > > > 2019-01-15 Richard Biener > > > Prathamesh Kulkarni > > > > > > PR ipa/88378 > > > > Wrong PR number.

Re: PR88788 - Infinite loop in malloc_candidate_p_1

2019-01-15 Thread Richard Biener
On Tue, 15 Jan 2019, Jakub Jelinek wrote: > On Tue, Jan 15, 2019 at 12:29:21PM +0530, Prathamesh Kulkarni wrote: > > 2019-01-15 Richard Biener > > Prathamesh Kulkarni > > > > PR ipa/88378 > > Wrong PR number. > > > * ipa-pure-const.c (malloc_candidate_p_1): Add parameter vi

Re: PR88788 - Infinite loop in malloc_candidate_p_1

2019-01-15 Thread Jakub Jelinek
On Tue, Jan 15, 2019 at 12:29:21PM +0530, Prathamesh Kulkarni wrote: > 2019-01-15 Richard Biener > Prathamesh Kulkarni > > PR ipa/88378 Wrong PR number. > * ipa-pure-const.c (malloc_candidate_p_1): Add parameter visited and > return true if SSA_NAME is already ma

Re: PR88788 - Infinite loop in malloc_candidate_p_1

2019-01-15 Thread Richard Biener
On Tue, 15 Jan 2019, Prathamesh Kulkarni wrote: > Hi Richard, > I tested your fix and it passes bootstrap+test on > x86_64-unknown-linux-gnu and cross-tested on following arm and aarch64 > sub-targets: > http://people.linaro.org/~christophe.lyon/cross-validation/gcc-test-patches/267917-pr88788-3/r

PR88788 - Infinite loop in malloc_candidate_p_1

2019-01-14 Thread Prathamesh Kulkarni
Hi Richard, I tested your fix and it passes bootstrap+test on x86_64-unknown-linux-gnu and cross-tested on following arm and aarch64 sub-targets: http://people.linaro.org/~christophe.lyon/cross-validation/gcc-test-patches/267917-pr88788-3/report-build-info.html Is it OK to commit ? Thanks, Pratha