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]
Other format: [Raw text]

Re: [PATCH, PR 50744] Prevent overflows in IPA-CP


> No to what?  To the fact that HOST_WIDEST_INT is host-dependent
> and thus should not be used to drive code generation?  Or no to the
> fact that we can (and do) use int64_t as host integer type?

No to the fact that int64_t should be used (and the occurrences in the LTO code 
are OK).  hwint.h is precisely supposed to insulate the compiler from the host 
(of course we all know that this isn't 100% true) and HOST_WIDEST_INT is the 
proper type to be used in this case, see existing examples.

-- 
Eric Botcazou


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