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: IA64 pointer extension patch in expr.c


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~


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