summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/scal-to-vec1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/scal-to-vec1.c')
-rw-r--r--gcc/testsuite/gcc.dg/scal-to-vec1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/scal-to-vec1.c b/gcc/testsuite/gcc.dg/scal-to-vec1.c
index 503426dbb29..0c1a5093315 100644
--- a/gcc/testsuite/gcc.dg/scal-to-vec1.c
+++ b/gcc/testsuite/gcc.dg/scal-to-vec1.c
@@ -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