On hppa*-*-hpux*, we can't use common for a vector size of 32 due to alignment limitiations. Tested on hppa2.0w-hp-hpux11.11. Committed to trunk.
Dave -- J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-03-05 John David Anglin <[email protected]> * gcc.dg/torture/pr47975.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture/pr47975.c =================================================================== --- gcc.dg/torture/pr47975.c (revision 170674) +++ gcc.dg/torture/pr47975.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */ int __attribute__ ((vector_size (32))) x;
