Question about gen_rtx_VAR_LOCATION

2010-03-26 Thread Jie Zhang
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. -- Jie Zhang CodeSourcery

Re: Question about gen_rtx_VAR_LOCATION

2010-03-26 Thread Jakub Jelinek
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

Re: Question about gen_rtx_VAR_LOCATION

2010-03-26 Thread Jie Zhang
On 03/26/2010 11:36 PM, Jakub Jelinek wrote: 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