===================================================================
@@ -1,5 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-Wno-long-long" } */
+/* { dg-options "-Wno-long-long -mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
+
#define vector(elcount, type) \
__attribute__((vector_size((elcount)*sizeof(type)))) type
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2 -Wall" } */
+/* { dg-options "-O2 -Wall -mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
+/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
/* Test for C_MAYBE_CONST are folded correctly when
expanding an expression to vector. */
===================================================================
@@ -1,5 +1,6 @@
/* PR c/35442 */
/* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
+/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
typedef char A __attribute__ ((vector_size (64)));
typedef int B __attribute__ ((vector_size (64)));
===================================================================
@@ -1,4 +1,6 @@
/* { dg-do compile } */
+/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
+
#define vector(elcount, type) \
__attribute__((vector_size((elcount)*sizeof(type)))) type
===================================================================
@@ -2,6 +2,7 @@
/* { dg-options "-ffast-math" } */
/* { dg-options "-ffast-math -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
/* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-ffast-math -mabi=altivec" { target { { powerpc*-*-linux* } && ia32 } } } */
#define __vector __attribute__((vector_size(16) ))
__vector float f(void);
===================================================================
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */
+/* { dg-options "-mabi=altivec" { target { { powerpc*-*-linux* } && ilp32 } } } */
/* Test if C_MAYBE_CONST are folded correctly when
creating VEC_COND_EXPR. */