Index: lib/CodeGen/CGBuiltin.cpp =================================================================== --- lib/CodeGen/CGBuiltin.cpp +++ lib/CodeGen/CGBuiltin.cpp @@ -949,6 +949,10 @@ if (Types.empty()) { Types[Context.CharTy] = "%c"; Types[Context.BoolTy] = "%d"; + Types[Context.SignedCharTy] = "%d"; + Types[Context.ShortTy] = "%d"; + Types[Context.UnsignedCharTy] = "%u"; + Types[Context.UnsignedShortTy] = "%u"; Types[Context.IntTy] = "%d"; Types[Context.UnsignedIntTy] = "%u"; Types[Context.LongTy] = "%ld";