This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for 32/64 problem in alpha.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Jan 02 17:28:47 EST
- Subject: Re: Fix for 32/64 problem in alpha.c
> - if (symbolic_operand (operands[1], mode))
> + if (mode == Pmode && symbolic_operand (operands[1], mode))
Seems more correct to patch symbolic_operand to mind the mode.
No, you miss the point. MODE is SImode as is the mode of operands[1].
The point is that even if symbolic_operand checked the mode (and I thought
it did, actually, since I didn't look), we can only handle Pmode, not ptr_mode.