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

Re: Using C++ in GCC is OK


On Mon, May 31, 2010 at 5:54 PM, Andrew Pinski <pinskia@gmail.com> wrote:
>
>
> Sent from my iPhone
>
> On May 31, 2010, at 2:48 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>
>>> C90 does not have long long either, yet we use it as required (for HWI).
>>
>> No, we use it when present but we don't require it, see hwint.h.
>
> Kinda. It depends on the host and target. If the target requires 64bit host
> wide ints then we require long long for 32 bit hosts. An example is a cross
> compiler from x86 to alpha.
>
>
>>
>> --
>> Eric Botcazou
>

You can encapsulate HWI in an ADT(abstract data type).

I think compiler can and should be host independent, like LLVM.

-- 
åææ(Chiheng Xu)
Wuhan,China


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