From ad0a3085d740347ec9db7ce15315d426d384110f Mon Sep 17 00:00:00 2001
From: John David Anglin <danglin@gcc.gnu.org>
Date: Sun, 17 Mar 2019 19:37:00 +0000
Subject: [PATCH] pr83487-1_x.c: Use -fno-common option on hppa*-*-hpux*.

	* gcc.dg/compat/pr83487-1_x.c: Use -fno-common option on hppa*-*-hpux*.
	* gcc.dg/compat/pr83487-1_y.c: Likewise.

From-SVN: r269745
---
 gcc/testsuite/ChangeLog                   | 5 ++++-
 gcc/testsuite/gcc.dg/compat/pr83487-1_x.c | 1 +
 gcc/testsuite/gcc.dg/compat/pr83487-1_y.c | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1c292cb7ded4..131ef49ee680 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,4 +1,7 @@
-2013-03-17  John David Anglin  <danglin@gcc.gnu.org>
+2019-03-03-17  John David Anglin  <danglin@gcc.gnu.org>
+
+	* gcc.dg/compat/pr83487-1_x.c: Use -fno-common option on hppa*-*-hpux*.
+	* gcc.dg/compat/pr83487-1_y.c: Likewise.
 
 	* gfortran.dg/pointer_init_10.f90: Require visibility support.
 	* gfortran.dg/temporary_3.f90: Likewise.
diff --git a/gcc/testsuite/gcc.dg/compat/pr83487-1_x.c b/gcc/testsuite/gcc.dg/compat/pr83487-1_x.c
index 043a4c449eec..b5b208f7d93e 100644
--- a/gcc/testsuite/gcc.dg/compat/pr83487-1_x.c
+++ b/gcc/testsuite/gcc.dg/compat/pr83487-1_x.c
@@ -1,3 +1,4 @@
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 #include "pr83487-1.h"
 
 extern
diff --git a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
index ef927bb21e50..ad336dd99367 100644
--- a/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
+++ b/gcc/testsuite/gcc.dg/compat/pr83487-1_y.c
@@ -1,3 +1,4 @@
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 #include "pr83487-1.h"
 
 struct A a;
-- 
GitLab