aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/vector-2_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/vector-2_x.c')
-rw-r--r--gcc/testsuite/gcc.dg/compat/vector-2_x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/vector-2_x.c b/gcc/testsuite/gcc.dg/compat/vector-2_x.c
index 492878aa750..42881330557 100644
--- a/gcc/testsuite/gcc.dg/compat/vector-2_x.c
+++ b/gcc/testsuite/gcc.dg/compat/vector-2_x.c
@@ -1,5 +1,7 @@
/* { dg-options "-w" } */
+#ifndef SKIP_ATTRIBUTE
+
#include "compat-common.h"
#include "vector-defs.h"
#include "vector-setup.h"
@@ -9,9 +11,12 @@ SETUP (4, sf);
SETUP (16, sf);
SETUP (2, df);
+#endif
+
void
vector_2_x (void)
{
+#ifndef SKIP_ATTRIBUTE
DEBUG_INIT
CHECK (2, sf);
@@ -23,4 +28,5 @@ vector_2_x (void)
if (fails != 0)
abort ();
+#endif
}