summaryrefslogtreecommitdiffstats
path: root/test/Parser/altivec.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/altivec.c')
-rw-r--r--test/Parser/altivec.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Parser/altivec.c b/test/Parser/altivec.c
index 92ec688..64f82f7 100644
--- a/test/Parser/altivec.c
+++ b/test/Parser/altivec.c
@@ -100,6 +100,16 @@ void f() {
__vector unsigned int tv = gccv;
gccv = v;
gccvector unsigned int tgv = v;
+
+ int res_i;
+ // bug 7553 - Problem with '==' and vectors
+ res_i = (vv_sc == vv_sc);
+ res_i = (vv_uc != vv_uc);
+ res_i = (vv_s > vv_s);
+ res_i = (vv_us >= vv_us);
+ res_i = (vv_i < vv_i);
+ res_i = (vv_ui <= vv_ui);
+ res_i = (vv_f <= vv_f);
}
// bug 6895 - Vectorl literal casting confusion.
OpenPOWER on IntegriCloud