This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Query regarding struct variables in GIMPLE
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Karthikeyan M <karthikeyan dot m at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 Mar 2007 22:46:24 -0400
- Subject: Re: Query regarding struct variables in GIMPLE
- References: <7a00ee030703131832t72ce0ac6xe8386a7b8adf4aec@mail.gmail.com>
Karthikeyan M wrote on 03/13/07 21:32:
> appears as x.j = 10 inside the GIMPLE dump of the function body . Is
> there some place from where I can get it in the following( or any
> other simpler ) form
No, we don't unnecessarily take addresses of variables. Structure
references are left intact. For some aggregates that cannot be
scalarized we try to create artificial tags to represent the fields (to
get field sensitive results in points-to resolution).