|how to get the field_id for member of structure in gcc front end firstname.lastname@example.org (Tianwei Sheng) (2006-03-29)|
|From:||"Tianwei Sheng" <email@example.com>|
|Date:||29 Mar 2006 18:53:09 -0500|
|Posted-Date:||29 Mar 2006 18:53:09 EST|
for the following statement, how can I get the field_id info for
the structure member
int * p = &pair.a;
It seems that we can't get the field_id info because of address taken
operator. it treats the "&pair.a" as "&pair + ofset of a".
I am doing something about alias analysis for our compiler, I need the
field_id info for me.
I am not familiar with the gcc tree. any one know this?
Return to the
Search the comp.compilers archives again.