Re: [PATCH] Fix endless recursion in decide_alg (PR target/69888)

2016-02-22 Thread Uros Bizjak
On Mon, Feb 22, 2016 at 10:27 PM, Uros Bizjak wrote: > On Mon, Feb 22, 2016 at 10:16 PM, Jakub Jelinek wrote: >> Hi! >> >> On the following testcase, we ICE due to infinite recursion in decide_alg >> - max is 0, and expected_size is the same (2048) in the second and following >> recursive calls.

Re: [PATCH] Fix endless recursion in decide_alg (PR target/69888)

2016-02-22 Thread Uros Bizjak
On Mon, Feb 22, 2016 at 10:16 PM, Jakub Jelinek wrote: > Hi! > > On the following testcase, we ICE due to infinite recursion in decide_alg > - max is 0, and expected_size is the same (2048) in the second and following > recursive calls. > > Fixed by avoiding recursing with the same arguments as be

[PATCH] Fix endless recursion in decide_alg (PR target/69888)

2016-02-22 Thread Jakub Jelinek
Hi! On the following testcase, we ICE due to infinite recursion in decide_alg - max is 0, and expected_size is the same (2048) in the second and following recursive calls. Fixed by avoiding recursing with the same arguments as before. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for