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
This commit is contained in:
John David Anglin 2014-08-07 17:49:08 +00:00
parent d0ef19a0b2
commit 8bd8ef50e4
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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)));

View File

@ -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))));