Test fails on hppa*-*-hpux* because specified alignment exceeds maximum common alignment. So add -fno-common option with target hppa*-*-hpux*.
Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and 4.6 branch. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-04-23 John David Anglin <dave.ang...@nrc-cnrc.ca> * gcc.dg/pr48616.c (dg-options): Add -fno-common to options on hppa*-*-hpux*. Index: gcc.dg/pr48616.c =================================================================== --- gcc.dg/pr48616.c (revision 172860) +++ gcc.dg/pr48616.c (working copy) @@ -1,6 +1,7 @@ /* PR tree-optimization/48616 */ /* { dg-do run } */ /* { dg-options "-O2 -ftree-vectorize" } */ +/* { dg-options "-O2 -ftree-vectorize -fno-common" { target hppa*-*-hpux* } } */ extern void abort (void); int a[4] __attribute__((aligned (32)));