Hello, All
   Now when porting gcc I met a problem, which can
cause compiler internal error in emit_move_insn
function when I use structure pointer to assign a
value to structure member like below:
  typedef struct MV
{
   int m_I;
   short m_J;
}MV;

void main(void)
{
   MV mv1;
   MV* pmv = &mv1;
   pmv->m_I = 2;
} 

I checked cc1 with insight when this error occurred,
this is because when move two different mode values:
DI:REG <-- SI:MEM. But I don't know how solve the
error. Can you give me some advices? 
  Thank you very much.
                                         Tian Xiaonan


      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/

Reply via email to