Index: lib/Basic/Targets.cpp =================================================================== --- lib/Basic/Targets.cpp +++ lib/Basic/Targets.cpp @@ -3885,6 +3885,7 @@ LongDoubleWidth = 64; LongDoubleFormat = &llvm::APFloat::IEEEdouble; UserLabelPrefix = ""; + WIntType = UnsignedInt; } CallingConvCheckResult checkCallingConvention(CallingConv CC) const override { Index: test/Preprocessor/elfiamcu-predefines.c =================================================================== --- test/Preprocessor/elfiamcu-predefines.c +++ test/Preprocessor/elfiamcu-predefines.c @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -E -dM -triple i586-intel-elfiamcu | FileCheck %s // CHECK: #define __USER_LABEL_PREFIX__ {{$}} +// CHECK: #define __WINT_TYPE__ unsigned int // CHECK: #define __iamcu // CHECK: #define __iamcu__