Re: [PATCH] Verify that context of local DECLs is the current function

2016-04-27 Thread Richard Biener
On Wed, Apr 27, 2016 at 2:23 PM, Martin Jambor wrote: > Hi, > > On Tue, Apr 26, 2016 at 10:58:22AM +0200, Richard Biener wrote: >> On Mon, Apr 25, 2016 at 3:22 PM, Martin Jambor wrote: >> > Hi, >> > >> > the patch below moves an assert from expand_expr_real_1 to

Re: [PATCH] Verify that context of local DECLs is the current function

2016-04-27 Thread Martin Jambor
Hi, On Tue, Apr 26, 2016 at 10:58:22AM +0200, Richard Biener wrote: > On Mon, Apr 25, 2016 at 3:22 PM, Martin Jambor wrote: > > Hi, > > > > the patch below moves an assert from expand_expr_real_1 to gimple > > verification. It triggers when we do a sloppy job outlining stuff >

Re: [PATCH] Verify that context of local DECLs is the current function

2016-04-26 Thread Richard Biener
On Mon, Apr 25, 2016 at 3:22 PM, Martin Jambor wrote: > Hi, > > the patch below moves an assert from expand_expr_real_1 to gimple > verification. It triggers when we do a sloppy job outlining stuff > from one function to another (or perhaps inlining too) and leave in > the IL of

[PATCH] Verify that context of local DECLs is the current function

2016-04-25 Thread Martin Jambor
Hi, the patch below moves an assert from expand_expr_real_1 to gimple verification. It triggers when we do a sloppy job outlining stuff from one function to another (or perhaps inlining too) and leave in the IL of a function a local declaration that belongs to a different function. Like I wrote