This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Referenced Vars in IPA pass


Uh, since when did 4.1 support IPA GIMPLE?


On 3/13/07, Paulo J. Matos <pocm@soton.ac.uk> wrote:
On 3/13/07, Paolo Bonzini <paolo.bonzini@lu.unisi.ch> wrote:
>
> > int x;
> >  {
> >      int y;
> >          {
> >              int z;
> >              ...
> >          }
> >      ...
> > }
> >
> > just happens to have three statements, all VAR_DECL,x, y, z, without
> > any reference to the starting and ending blocks. As a side question,
> > how can I get hand of where the blocks start and finish? Don't really
> > know if it's useful but If I need it later, better I know how.
>
> This is not available anymore after lowering to GIMPLE.  BIND_EXPRs
> (representing lexical scope) are removed in gimple-low.c.
>

Ah, by the way, I'm not using trunk, I'm using stable 4.1 code.

> Paolo
>


-- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD Student @ ECS University of Southampton, UK



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]