How to extract types of variables and its uid?
Andrew Pinski
pinskia@gmail.com
Thu Apr 9 16:05:00 GMT 2015
On Thu, Apr 9, 2015 at 10:40 PM, Swati Rathi <swatirathi@cse.iitb.ac.in> wrote:
> Even I am getting same uid's on small programs.
> I tried declaring variables across files also.
> But I am unable to replicate the problem on small programs.
>
> I am testing on SPEC CPU2006 benchmark suite, program - 453.povray
> Below is the information which is getting dumped using
> -fdump-tree-gimple-uid
>
> IStream has different uid's -> 5363, 5364, 11467 and 11521. In a file the
> uid is same.
> Can you suggest other experiments to identify the reason?
Yes UID are only the same compiling unit. If you want to do some
analysis with types across units you should be using LTO
infrastructure.
Thanks,
Andrew
More information about the Gcc
mailing list