diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-07 17:49:08 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-07 17:49:08 +0000 |
commit | f59ea09778e927f6c947ee7347f97aa21ada6f38 (patch) | |
tree | a185f58292f1c9e61e021b67f725b18b0c8c470c | |
parent | 1ddba39def778fde84cf19e926257412818fbacd (diff) | |
download | gcc-f59ea09778e927f6c947ee7347f97aa21ada6f38.tar.gz |
* gcc.dg/pr57233.c: Add -fno-common option on hppa*-*-hpux*.
* c-c++-common/pr50459.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213717 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/pr50459.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr57233.c | 1 |
3 files changed, 7 insertions, 0 deletions
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 <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 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)))); |