Re: [PATCH] wide-int division fix (PR tree-optimization/64807)

2015-01-27 Thread Richard Biener
On Mon, 26 Jan 2015, Jakub Jelinek wrote: > Hi! > > On the following testcase we generate wrong code, because > apparently divmod_internal_2 relies on 0 being the topmost > element (at b_dividend[m]): >algorithm. M is the number of significant elements of U however >there needs to be at

[PATCH] wide-int division fix (PR tree-optimization/64807)

2015-01-26 Thread Jakub Jelinek
Hi! On the following testcase we generate wrong code, because apparently divmod_internal_2 relies on 0 being the topmost element (at b_dividend[m]): algorithm. M is the number of significant elements of U however there needs to be at least one extra element of B_DIVIDEND allocated, N is