From: John David Anglin Date: Thu, 30 Jul 2009 23:12:31 +0000 (+0000) Subject: vector-4.c: Add -fno-common option on hppa*-*-hpux* (32-bit). X-Git-Tag: releases/gcc-4.5.0~4258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb5c784dcfce285d74a3d6c22d4e398b240e49f3;p=thirdparty%2Fgcc.git 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 --- 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;