> 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