> Please simply switch it to unconditional use of tree_to_double_int > (DECL_SIZE_UNIT (t)).low and make 'size' a HOST_WIDE_INT (we properly > require 64 bit hwi for targets that have 64bit sizes/pointers).
Sure, but we need a 64-bit container for 'size' at least, because 8 bytes are read from it. So I presume HOST_WIDEST_INT should simply be used there too. > +#if HOST_BITS_PER_WIDE_INT >= 64 > +# define host_int64 HOST_WIDE_INT > +#elif HOST_BITS_PER_WIDEST_INT >= 64 > +# define host_int64 HOST_WIDEST_INT > +#else > +# error "host has no 64-bit type" > +#endif > > well, as previous communication has shown we should use > HOST_WIDEST_INT unconditionally for a 64-bit type (allowing > the code to compile when no such type is available during stage1). > If we really need a true 64bit type then we should amend hwint.h > accordingly. OK. -- Eric Botcazou