Re: About DECL_UID

2010-09-25 Thread Diego Novillo
On Sat, Sep 25, 2010 at 16:52, Hongtao wrote: >    OK, thanks. But it means there may be two local variables in > different source files that can own the same DECL_UID, though LTO links > the two source files together? Sure, but when the bytecode files are instantiated during read-in, lto1 will

Re: About DECL_UID

2010-09-25 Thread Hongtao
On 09/25/10 16:48, Diego Novillo wrote: > On Sat, Sep 25, 2010 at 16:40, Hongtao wrote: > >> May the DECL_UID of any two local variables of two separated functions >> be the same during LTO ? > No. DECL_UIDs are unique within a single translation unit. > OK, thanks. But it means there may be

Re: About DECL_UID

2010-09-25 Thread Diego Novillo
On Sat, Sep 25, 2010 at 16:40, Hongtao wrote: > May the DECL_UID of any two local variables of two separated functions > be the same during LTO ? No. DECL_UIDs are unique within a single translation unit. Diego.

About DECL_UID

2010-09-25 Thread Hongtao
Hi All, May the DECL_UID of any two local variables of two separated functions be the same during LTO ? Thanks, Hongtao Yu Purdue University