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: Second patch for HP-UX IA64 bootstrap failure


> Try this.

Doesn't help.  I tried it with the test case:

  typedef struct { int __cnt; } FILE;
  extern FILE __iob[];
  void __eprintf () { foo (&__iob[2]); }

After calling expand_expr_addr_expr_1 from expand_expr_addr_expr, tmode
was VOIDmode but then it got set to BLKmode in the if statement with the
statement "tmode = TYPE_MODE (TREE_TYPE (exp));".  rmode was set to
DImode and convert_memory_address was called but it tried to convert the
address into BLKmode which doesn't work.

Should tmode just be set to ptr_mode?

Steve Ellcey
sje@cup.hp.com


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