Closed by commit rL214710 (authored by pvchupin).
REPOSITORY
rL LLVM
http://reviews.llvm.org/D4755
Files:
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/test/Sema/types.c
Index: cfe/trunk/test/Sema/types.c
===================================================================
--- cfe/trunk/test/Sema/types.c
+++ cfe/trunk/test/Sema/types.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-apple-darwin9
// RUN: %clang_cc1 %s -pedantic -verify -triple=mips64-linux-gnu
+// 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];
Index: cfe/trunk/lib/Basic/Targets.cpp
===================================================================
--- cfe/trunk/lib/Basic/Targets.cpp
+++ cfe/trunk/lib/Basic/Targets.cpp
@@ -3401,6 +3401,8 @@
return CC_C;
}
+ // for x32 we need it here explicitly
+ bool hasInt128Type() const override { return true; }
};
} // end anonymous namespace
Index: cfe/trunk/test/Sema/types.c
===================================================================
--- cfe/trunk/test/Sema/types.c
+++ cfe/trunk/test/Sema/types.c
@@ -1,5 +1,7 @@
// RUN: %clang_cc1 %s -pedantic -verify -triple=x86_64-apple-darwin9
// RUN: %clang_cc1 %s -pedantic -verify -triple=mips64-linux-gnu
+// 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];
Index: cfe/trunk/lib/Basic/Targets.cpp
===================================================================
--- cfe/trunk/lib/Basic/Targets.cpp
+++ cfe/trunk/lib/Basic/Targets.cpp
@@ -3401,6 +3401,8 @@
return CC_C;
}
+ // for x32 we need it here explicitly
+ bool hasInt128Type() const override { return true; }
};
} // end anonymous namespace
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits