From cb5c784dcfce285d74a3d6c22d4e398b240e49f3 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Thu, 30 Jul 2009 23:12:31 +0000 Subject: [PATCH] vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). From-SVN: r150282 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gcc.dg/vector-4.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fb3c15f7ea50..7364fedc4263 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2009-07-30 John David Anglin + * gcc.dg/vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). + * gcc.dg/ucnid-11.c: Skip on hppa*-*-hpux* (32-bit). * gcc.dg/ucnid-12.c: Likewise. diff --git a/gcc/testsuite/gcc.dg/vector-4.c b/gcc/testsuite/gcc.dg/vector-4.c index 7964a881f4a3..9fa60ded8d19 100644 --- a/gcc/testsuite/gcc.dg/vector-4.c +++ b/gcc/testsuite/gcc.dg/vector-4.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-fno-common" { target { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } } } */ #define vector __attribute__((vector_size(4*sizeof(int)) )) vector int a, b, c; -- 2.47.2