[cfe-commits] r63976 - /cfe/trunk/lib/Lex/Preprocessor.cpp
Chris Lattner
sabre at nondot.org
Fri Feb 6 22:27:47 PST 2009
On Feb 6, 2009, at 4:56 PM, Eli Friedman wrote:
> On Fri, Feb 6, 2009 at 2:59 PM, Chris Lattner <sabre at nondot.org>
> wrote:
>> + assert(TI.getLongLongWidth() == 32 && "unsupported target
>> types");
>> + DefineBuiltinMacro(Buf, "__INT32_TYPE__=long long");
>
> Shouldn't this be long rather than long long? long long should never
> be 32 bits.
This is for pic16 where long long is 32-bits. All "normal" targets
use int for this. This is also why the headers use #ifdef
__INT64_TYPE__, because pic16 doesn't have a 64-bit datatype.
-Chris
More information about the cfe-commits
mailing list