This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Second patch for HP-UX IA64 bootstrap failure
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Sep 2004 15:30:03 -0700 (PDT)
- Subject: 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