Work around limited alignment of common. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk.
Ok for 4.7? Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2012-03-10 John David Anglin <dave.ang...@nrc-cnrc.gc.ca> * gcc.dg/torture/pr52407.c: Add -fno-common option on hppa*-*-hpux*. Index: gcc.dg/torture/pr52407.c =================================================================== --- gcc.dg/torture/pr52407.c (revision 184849) +++ gcc.dg/torture/pr52407.c (working copy) @@ -1,4 +1,5 @@ /* { dg-do run } */ +/* { dg-options "-fno-common" { target hppa*-*-hpux* } } */ extern void abort (void);