method.c (build_overload_int): Use host_integerp.
* method.c (build_overload_int): Use host_integerp. Co-Authored-By: Jason Merrill <jason@casey.cygnus.com> From-SVN: r32650
This commit is contained in:
parent
c65a922c68
commit
10bd7f8c2d
|
@ -1,3 +1,8 @@
|
||||||
|
2000-03-20 Jed Wing <jedwin@zloty.ugcs.caltech.edu>
|
||||||
|
Jason Merrill <jason@casey.cygnus.com>
|
||||||
|
|
||||||
|
* method.c (build_overload_int): Use host_integerp.
|
||||||
|
|
||||||
2000-03-20 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
|
2000-03-20 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
|
||||||
|
|
||||||
* init.c (build_offset_ref): Handle the case of a templated member
|
* init.c (build_offset_ref): Handle the case of a templated member
|
||||||
|
|
|
@ -597,11 +597,9 @@ build_overload_int (value, flags)
|
||||||
should always be represented by constants. */
|
should always be represented by constants. */
|
||||||
my_friendly_assert (TREE_CODE (value) == INTEGER_CST, 243);
|
my_friendly_assert (TREE_CODE (value) == INTEGER_CST, 243);
|
||||||
|
|
||||||
/* If the high-order word is not merely a sign-extension of the
|
/* If value doesn't fit in a single HOST_WIDE_INT, we must use a
|
||||||
low-order word, we must use a special output routine that can
|
special output routine that can deal with this. */
|
||||||
deal with this. */
|
if (! host_integerp (value, 0))
|
||||||
if ((unsigned HOST_WIDE_INT) TREE_INT_CST_HIGH (value)
|
|
||||||
!= (TREE_INT_CST_LOW (value) >> (HOST_BITS_PER_WIDE_INT - 1)))
|
|
||||||
{
|
{
|
||||||
multiple_words_p = 1;
|
multiple_words_p = 1;
|
||||||
/* And there is certainly going to be more than one digit. */
|
/* And there is certainly going to be more than one digit. */
|
||||||
|
|
Loading…
Reference in New Issue