This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] validate_replace_rtx_1 fix for SUBREG_BYTE branch
- To: Jakub Jelinek <jakub at redhat dot com>
- Subject: Re: [PATCH] validate_replace_rtx_1 fix for SUBREG_BYTE branch
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 5 Jan 2001 13:47:06 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010105224016.N526@sunsite.ms.mff.cuni.cz>
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~