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] |
|
In expand_expr(), when I meet a VAR_DECL, I want to do some
operation on it
if it was first declared in a given position. For
example, I want to determine
if the integer variable was declared in the second
sub-block of the first basic
block of function main(). I illustratd it as follows.
int main()
{
int
a;
{
}
{
int b;
{
b; // I want to do something on b
a; // not a
}
}
}
Does anybody know easy way to implement the
determination?
---
Sung-taek Lim |
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |