From 8d0b306f50afdcf5aed928aaccb24acbe271b560 Mon Sep 17 00:00:00 2001 From: John David Anglin Date: Sat, 28 Jan 2017 17:19:09 +0000 Subject: [PATCH] pr78515.c: Add -fno-common option on hppa*-*-hpux*. * gcc.dg/torture/pr78515.c: Add -fno-common option on hppa*-*-hpux*. From-SVN: r245005 --- gcc/testsuite/ChangeLog | 2 ++ gcc/testsuite/gcc.dg/torture/pr78515.c | 1 + 2 files changed, 3 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 80c7bae8e74..4309285be80 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2017-01-28 John David Anglin + * gcc.dg/torture/pr78515.c: Add -fno-common option on hppa*-*-hpux*. + * gfortran.dg/coarray_41.f90: Add "-latomic" option if libatomic_available. * gfortran.dg/coarray_42.f90: Likewise. diff --git a/gcc/testsuite/gcc.dg/torture/pr78515.c b/gcc/testsuite/gcc.dg/torture/pr78515.c index a511aaec7ce..a0e938b78e0 100644 --- a/gcc/testsuite/gcc.dg/torture/pr78515.c +++ b/gcc/testsuite/gcc.dg/torture/pr78515.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-additional-options "-Wno-psabi" } */ /* { dg-additional-options "-mavx512bw" { target x86_64-*-* i?86-*-* } } */ +/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */ typedef unsigned V __attribute__ ((vector_size (64))); -- 2.30.2