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


>>>>> Richard Henderson writes:

Richard> Err, no,

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

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

	Yes, you are right, sorry about the mistaken report.  However,
your change has introduced a new warning:

/gcc/dje/src/gcc/reload1.c: In function `alter_reg':
/gcc/dje/src/gcc/reload1.c:2062: warning: passing arg 2 of `set_mem_expr'
from incompatible pointer type

David


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