This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __fixuns?fSI() lose if long is wider than SI


On Wed, Jan 31, 2001 at 12:40:30AM -0200, Alexandre Oliva wrote:
> Any suggestions on how to figure out the width of SItype at
> compile-time in fp-bit.[hc]?

 BITS_PER_UNIT * 4

> 	* libgcc2.h (Wtype_MAX, Wtype_MIN): Define.
> 	* libgcc2.c (__fixunssfSI, __fixunsdfSI, __fixunsxfSI): Use
> 	Wtype_MIN instead of LONG_MIN.

Ok.


r~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]