diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 27cbfb4b849..a484b048eb4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-08-07 John David Anglin + + * gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*. + * c-c++-common/pr50459.c: Likewise. + 2014-08-07 Petr Murzin * 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 8d75228bbcf..848977ea393 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 58c05348b85..484844e491d 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))));