Re: [patch] Couple of tweaks to the gimplifier

2011-03-22 Thread Richard Guenther
On Mon, Mar 21, 2011 at 6:48 PM, Eric Botcazou wrote: >> >  1) Set TREE_THIS_NOTRAP on the INDIRECT_REF built for VLA decls.  This >> > is correct since stack memory isn't considered as trapping in the IL. >> >> This is ok. > > Thanks. > >> >  2) Improve gimplification of complex conditions in CON

Re: [patch] Couple of tweaks to the gimplifier

2011-03-21 Thread Eric Botcazou
> >  1) Set TREE_THIS_NOTRAP on the INDIRECT_REF built for VLA decls.  This > > is correct since stack memory isn't considered as trapping in the IL. > > This is ok. Thanks. > >  2) Improve gimplification of complex conditions in COND_EXPR.  They are > >     naturally generated by the Ada compile

Re: [patch] Couple of tweaks to the gimplifier

2011-03-21 Thread Richard Guenther
On Mon, Mar 21, 2011 at 12:19 PM, Eric Botcazou wrote: > Hi, > > the attached patch makes a couple of tweaks to the gimplifier in order to help > Ada, but I think that they are of general usefulness: > >  1) Set TREE_THIS_NOTRAP on the INDIRECT_REF built for VLA decls.  This is >     correct since

[patch] Couple of tweaks to the gimplifier

2011-03-21 Thread Eric Botcazou
Hi, the attached patch makes a couple of tweaks to the gimplifier in order to help Ada, but I think that they are of general usefulness: 1) Set TREE_THIS_NOTRAP on the INDIRECT_REF built for VLA decls. This is correct since stack memory isn't considered as trapping in the IL. 2) Impro