aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2014-03-24 01:11:51 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2014-03-24 01:11:51 +0000
commit15c60250a2c690c6902735d97530acf9d2898118 (patch)
treec32e8c979e2dc10cb21fbea5fe563322e6fe4d97 /gcc
parentaadb73084b316e5715d59cf4c902ae0ad0737fba (diff)
downloadgcc-15c60250a2c690c6902735d97530acf9d2898118.zip
gcc-15c60250a2c690c6902735d97530acf9d2898118.tar.gz
gcc-15c60250a2c690c6902735d97530acf9d2898118.tar.bz2
pr59003.c: Add -fno-common to dg-options on hppa*-*-hpux*.
* gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on hppa*-*-hpux*. From-SVN: r208783
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/pr59003.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bd34490..0894bfd 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2014-03-23 John David Anglin <danglin@gcc.gnu.org>
+ * gcc.dg/tree-prof/pr59003.c: Add -fno-common to dg-options on
+ hppa*-*-hpux*.
+
* gcc.dg/torture/pr60092.c: Skip on 32-bit hpux.
PR libfortran/59313
diff --git a/gcc/testsuite/gcc.dg/tree-prof/pr59003.c b/gcc/testsuite/gcc.dg/tree-prof/pr59003.c
index b4ca9ea..1c7d5e0 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/pr59003.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/pr59003.c
@@ -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)