Index: lib/Basic/Targets.cpp =================================================================== --- lib/Basic/Targets.cpp +++ lib/Basic/Targets.cpp @@ -3402,6 +3402,8 @@ return CC_C; } + // for x32 we need it here explicitly + bool hasInt128Type() const override { return true; } }; } // end anonymous namespace Index: test/Sema/types.c =================================================================== --- test/Sema/types.c +++ test/Sema/types.c @@ -1,4 +1,6 @@ // RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-apple-darwin9 +// RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-unknown-linux +// RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-unknown-linux-gnux32 // rdar://6097662 typedef int (*T)[2];