Re: Variable DECL_SIZE

2012-10-05 Thread Richard Guenther
On Fri, Oct 5, 2012 at 2:36 PM, Ilya Enkovich wrote: > 2012/10/5 Richard Guenther : >> On Fri, Oct 5, 2012 at 10:28 AM, Ilya Enkovich >> wrote: >>> 2012/10/4 Richard Guenther : On Wed, Oct 3, 2012 at 7:05 PM, Ilya Enkovich wrote: > Hi, > > I fall into ssa verification fai

Re: Variable DECL_SIZE

2012-10-05 Thread Ilya Enkovich
2012/10/5 Richard Guenther : > On Fri, Oct 5, 2012 at 10:28 AM, Ilya Enkovich wrote: >> 2012/10/4 Richard Guenther : >>> On Wed, Oct 3, 2012 at 7:05 PM, Ilya Enkovich >>> wrote: Hi, I fall into ssa verification failure when try to pass field's DECL_SIZE as an operand for CALL

Re: Variable DECL_SIZE

2012-10-05 Thread Richard Guenther
On Fri, Oct 5, 2012 at 10:28 AM, Ilya Enkovich wrote: > 2012/10/4 Richard Guenther : >> On Wed, Oct 3, 2012 at 7:05 PM, Ilya Enkovich wrote: >>> Hi, >>> >>> I fall into ssa verification failure when try to pass field's >>> DECL_SIZE as an operand for CALL_EXPR. The fail occurs if field's size >>>

Re: Variable DECL_SIZE

2012-10-05 Thread Ilya Enkovich
2012/10/4 Richard Guenther : > On Wed, Oct 3, 2012 at 7:05 PM, Ilya Enkovich wrote: >> Hi, >> >> I fall into ssa verification failure when try to pass field's >> DECL_SIZE as an operand for CALL_EXPR. The fail occurs if field's size >> is not a constant. In such case DECL_SIZE holds a VAR_DECL and

Re: Variable DECL_SIZE

2012-10-04 Thread Richard Guenther
On Wed, Oct 3, 2012 at 7:05 PM, Ilya Enkovich wrote: > Hi, > > I fall into ssa verification failure when try to pass field's > DECL_SIZE as an operand for CALL_EXPR. The fail occurs if field's size > is not a constant. In such case DECL_SIZE holds a VAR_DECL and I need > to find it's proper SSA_NA

Variable DECL_SIZE

2012-10-03 Thread Ilya Enkovich
Hi, I fall into ssa verification failure when try to pass field's DECL_SIZE as an operand for CALL_EXPR. The fail occurs if field's size is not a constant. In such case DECL_SIZE holds a VAR_DECL and I need to find it's proper SSA_NAME. I thought it may be the default one but gimple_default_def re