aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2014-08-07 17:49:08 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2014-08-07 17:49:08 +0000
commit8bd8ef50e46874632c6cbd5f1446f7a6712f979c (patch)
treea185f58292f1c9e61e021b67f725b18b0c8c470c
parentd0ef19a0b2f7cabe50a0f2ca298e5b2e2501f858 (diff)
downloadgcc-8bd8ef50e46874632c6cbd5f1446f7a6712f979c.zip
gcc-8bd8ef50e46874632c6cbd5f1446f7a6712f979c.tar.gz
gcc-8bd8ef50e46874632c6cbd5f1446f7a6712f979c.tar.bz2
pr57233.c: Add -fno-common option on hppa*-*-hpux*.
* gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*. * c-c++-common/pr50459.c: Likewise. From-SVN: r213717
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/c-c++-common/pr50459.c1
-rw-r--r--gcc/testsuite/gcc.dg/pr57233.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 27cbfb4..a484b04 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-07 John David Anglin <danglin@gcc.gnu.org>
+
+ * gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*.
+ * c-c++-common/pr50459.c: Likewise.
+
2014-08-07 Petr Murzin <petr.murzin@intel.com>
* gcc.target/i386/avx512f-vfixupimmpd-2.c: Include float.h instead of
diff --git a/gcc/testsuite/c-c++-common/pr50459.c b/gcc/testsuite/c-c++-common/pr50459.c
index 8d75228..848977e 100644
--- a/gcc/testsuite/c-c++-common/pr50459.c
+++ b/gcc/testsuite/c-c++-common/pr50459.c
@@ -1,6 +1,7 @@
/* PR c/50459 */
/* { dg-do compile } */
/* { dg-options "-Wall -Wextra" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
enum { A = 128, B = 1 };
void *fn1 (void) __attribute__((assume_aligned (A)));
diff --git a/gcc/testsuite/gcc.dg/pr57233.c b/gcc/testsuite/gcc.dg/pr57233.c
index 58c0534..484844e 100644
--- a/gcc/testsuite/gcc.dg/pr57233.c
+++ b/gcc/testsuite/gcc.dg/pr57233.c
@@ -1,6 +1,7 @@
/* PR tree-optimization/57233 */
/* { dg-do run { target { ilp32 || lp64 } } } */
/* { dg-options "-O2" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
typedef unsigned V4 __attribute__((vector_size(4 * sizeof (int))));
typedef unsigned V8 __attribute__((vector_size(8 * sizeof (int))));