gcc.dg/tree-prof/pr59003.c fails on hppa*-*-hpux* because of limited variable alignment
when -fno-common is not specified in the options.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.
Committed to trunk.

Dave
--
John David Anglin       dave.ang...@bell.net


2014-03-23  John David Anglin  <dang...@gcc.gnu.org>

        * gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
        hppa*-*-hpux*.

Index: gcc.dg/tree-prof/pr59003.c
===================================================================
--- gcc.dg/tree-prof/pr59003.c  (revision 208769)
+++ gcc.dg/tree-prof/pr59003.c  (working copy)
@@ -1,6 +1,7 @@
 /* PR target/59003 */
 /* { dg-options "-O2" } */
 /* { dg-options "-O2 -mtune=amdfam10" { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-O2 -fno-common" { target hppa*-*-hpux* } } */
 
 __attribute__((noinline, noclone)) void *
 foo (void *p, unsigned int q)

Reply via email to