This is the mail archive of the gcc@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: Target FUNCTION_{PRO,EPI}LOGUE question


    Why do we have HOST_WIDE_INT rather than using the normal C name "long"  
    for that concept?  Is this just so it can be "long long" when doing 32x64
    cross-compiles, because of the limitations of GCC's representations for
    target integers, or is there some other reason?

Because it's an abstraction for the "widest integer type" and means precisely
that we don't have to think about the sorts of issues you raise.  Note that
there was one (ill-advised) 64-bit ABI which had long as 32 bits and int
as 64 bits.


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