This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Referenced Vars in IPA pass
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: "Paulo J. Matos" <pocm at soton dot ac dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 Mar 2007 18:09:58 +0100
- Subject: Re: Referenced Vars in IPA pass
- References: <11b141710703131000j329d8a9ci32067f5075eeed03@mail.gmail.com>
- Reply-to: bonzini at gnu dot org
> 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.
Paolo