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]
Other format: [Raw text]

Re: Question about gen_rtx_VAR_LOCATION


On Fri, Mar 26, 2010 at 11:27:24PM +0800, Jie Zhang wrote:
> There are two calls of gen_rtx_VAR_LOCATION in cfgexpand.c. Both calls  
> cast a tree to rtx as the third argument. Why a tree is used in RTL  
> expression? Will it be transformed into RTL later or all RTL passes  
> should recognize it's a tree and just ignore it? Thanks.

Yes, it is just temporary.  The tree survives there just from
the calls from within expand_gimple_basic_block until the immediately
following expand_debug_locations call.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]