This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Take two: kill CONST_DOUBLE_CHAIN
- From: Richard Henderson <rth at redhat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 6 May 2002 10:52:14 -0700
- Subject: Re: Take two: kill CONST_DOUBLE_CHAIN
- References: <20020505230231.GF25617@codesourcery.com>
On Sun, May 05, 2002 at 04:02:31PM -0700, Zack Weinberg wrote:
> + /* We use VOIDmode for integers. */
> + value = rtx_alloc (CONST_DOUBLE);
> + PUT_MODE (value, VOIDmode);
> +
> + CONST_DOUBLE_LOW (value) = i0;
> + CONST_DOUBLE_HIGH (value) = i1;
You need to zero any other slots in the const_double.
You probably tested with gc checking, which would have
consistently poisoned them to 0xa5... .
Otherwise ok.
r~