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