From patchwork Sun Nov 11 19:19:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [committed] Add -fno-common to various testcases on hppa*-hp-hpux* Date: Sun, 11 Nov 2012 09:19:41 -0000 From: John David Anglin X-Patchwork-Id: 198291 Message-Id: <20121111191940.GA21899@hiauly1.hia.nrc.ca> To: gcc-patches@gcc.gnu.org Cc: John David Anglin Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave Index: gcc.dg/torture/pr54920.c =================================================================== --- gcc.dg/torture/pr54920.c (revision 192652) +++ gcc.dg/torture/pr54920.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */ typedef short __v8hi __attribute__ ((__vector_size__ (16))); typedef long long __m128i __attribute__ ((__vector_size__ (16))); Index: c-c++-common/torture/vector-subscript-1.c =================================================================== --- c-c++-common/torture/vector-subscript-1.c (revision 192652) +++ c-c++-common/torture/vector-subscript-1.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */ #define vector __attribute__((vector_size(sizeof(int)*4) )) /* Check to make sure that we extract and insert the vector at the same Index: c-c++-common/torture/vector-subscript-2.c =================================================================== --- c-c++-common/torture/vector-subscript-2.c (revision 192652) +++ c-c++-common/torture/vector-subscript-2.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */ #define vector __attribute__((vector_size(sizeof(int)*4) )) /* Check to make sure that we extract and insert the vector at the same