This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: IA64 pointer extension patch in expr.c
- From: Richard Henderson <rth at redhat dot com>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Mar 2003 17:35:17 -0800
- Subject: Re: IA64 pointer extension patch in expr.c
- References: <200303040110.RAA00261@hpsje.cup.hp.com>
On Mon, Mar 03, 2003 at 05:10:42PM -0800, Steve Ellcey wrote:
> * expr.c (expand_expr): Call promote_mode to set unsignedp.
Ok.
Please remove the comment as well. It's very misleading. The
unsignedness of the result is irrelevant to the signedness of
the extension. I.e. the moral equivalent of
int y;
unsigned long x = y;
will have a signed promotion, but an unsigned result.
r~