Kill CONST_DOUBLE_CHAIN
Zack Weinberg
zack@codesourcery.com
Wed Apr 24 13:50:00 GMT 2002
On Wed, Apr 24, 2002 at 11:37:41AM -0700, Richard Henderson wrote:
> On Wed, Apr 24, 2002 at 11:17:28AM -0700, Zack Weinberg wrote:
> > The only thing we use the CONST_DOUBLE_CHAIN for anymore is making all
> > CONST_DOUBLEs unique in the current function. However, nothing seems
> > to care, and it complicates things unnecessarily.
>
> If you don't make the constants unique some way, won't
> we get multiple entries for the same constant in the
> constant pool?
No. compare_rtx_constant compares CONST_DOUBLEs by value, not
address.
> > + REAL_VALUE_FROM_INT (dconstm1, -1, 0, double_mode);
>
> -1, -1
Oops. Corrected in my tree.
zw
More information about the Gcc-patches
mailing list