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]

Re: [PATCH] validate_replace_rtx_1 fix for SUBREG_BYTE branch


On Fri, Jan 05, 2001 at 10:40:17PM +0100, Jakub Jelinek wrote:
> +	      i = (&CONST_DOUBLE_LOW (to))[part];

While clever, this falls afoul of the bounds checking patches.
Please just use

	i = part ? CONST_DOUBLE_HIGH (to) : CONST_DOUBLE_LOW (to);

Otherwise ok.


r~

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