This is the mail archive of the gcc-patches@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: enhanced structure offset tracking


On Sun, Dec 02, 2001 at 10:10:58PM -0500, David Edelsohn wrote:
> 	reload1.c calls set_mem_expr() with regno_decl as the second
> parameter.  regno_decl is a "tree *" while set_mem_expr()'s second
> argument is a "tree", not a pointer to a "tree".

Err, no,

	#define REGNO_DECL(REGNO) (cfun->emit->regno_decl[REGNO])
          set_mem_expr (x, REGNO_DECL (i));

it calls set_mem_expr with regno_decl[regno], which is a tree.  


r~


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