Re: [committed] Fix assert in gimple_phi_arg

2017-07-20 Thread Tom de Vries
On 07/20/2017 10:46 AM, Richard Biener wrote: On Wed, Jul 19, 2017 at 5:42 PM, Tom de Vries wrote: Hi, this patch makes an assert in gimple_phi_arg more strict. The current assert allows 'index == phi_stmt->capacity', but 'phi_stmt->args[phi_stmt->capacity]' is out of bounds. Bootstrapped an

Re: [committed] Fix assert in gimple_phi_arg

2017-07-20 Thread Richard Biener
On Wed, Jul 19, 2017 at 5:42 PM, Tom de Vries wrote: > Hi, > > this patch makes an assert in gimple_phi_arg more strict. > > The current assert allows 'index == phi_stmt->capacity', but > 'phi_stmt->args[phi_stmt->capacity]' is out of bounds. > > Bootstrapped and reg-tested on x86_64. > > Committe

[committed] Fix assert in gimple_phi_arg

2017-07-19 Thread Tom de Vries
Hi, this patch makes an assert in gimple_phi_arg more strict. The current assert allows 'index == phi_stmt->capacity', but 'phi_stmt->args[phi_stmt->capacity]' is out of bounds. Bootstrapped and reg-tested on x86_64. Committed as obvious. Thanks, - Tom Fix assert in gimple_phi_arg 2017-07-