Re: [PATCH GCC]Fix checking on MAX_PENDING_LIST_LENGTH

2014-11-10 Thread Richard Biener
On Mon, Nov 10, 2014 at 10:16 AM, Bin Cheng wrote: > Hi, > There is parameter max-pending-list-length in gcc scheduler, but the > parameter is checked using greater than condition. As a result, the real > max pending list length is actually "max-pending-list-length + 1". This > patch fixes this

[PATCH GCC]Fix checking on MAX_PENDING_LIST_LENGTH

2014-11-10 Thread Bin Cheng
Hi, There is parameter max-pending-list-length in gcc scheduler, but the parameter is checked using greater than condition. As a result, the real max pending list length is actually "max-pending-list-length + 1". This patch fixes this by using ">=" rather than ">" comparison operator. Though it