Wunused-var-15.c: Add -fno-common additional option on hppa*-*-hpux*.

* c-c++-common/Wunused-var-15.c: Add -fno-common additional option on
	hppa*-*-hpux*.
	* c-c++-common/Wunused-var-16.c: Likewise.
	* c-c++-common/builtin-shuffle-1.c: Likewise.
	* gcc.dg/debug/dwarf2/align-[1-6].c Likewise.
	* gcc.dg/debug/dwarf2/align-as-1.c: Likewise.

From-SVN: r245179
This commit is contained in:
John David Anglin 2017-02-04 00:54:06 +00:00
parent 510555e01c
commit d8a09adacf
11 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2017-02-03 John David Anglin <danglin@gcc.gnu.org>
* c-c++-common/Wunused-var-15.c: Add -fno-common additional option on
hppa*-*-hpux*.
* c-c++-common/Wunused-var-16.c: Likewise.
* c-c++-common/builtin-shuffle-1.c: Likewise.
* gcc.dg/debug/dwarf2/align-[1-6].c Likewise.
* gcc.dg/debug/dwarf2/align-as-1.c: Likewise.
2017-02-03 Martin Sebor <msebor@redhat.com>
PR tree-optimization/79327

View File

@ -1,6 +1,7 @@
/* PR c/71719 */
/* { dg-do compile } */
/* { dg-options "-Wunused -W -Wno-psabi" } */
/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
typedef unsigned V __attribute__ ((vector_size (16)));

View File

@ -1,6 +1,7 @@
/* PR c++/78949 */
/* { dg-do compile } */
/* { dg-options "-Wunused" } */
/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
typedef unsigned char V __attribute__((vector_size(16)));
V v;

View File

@ -1,5 +1,6 @@
/* PR c++/78089 */
/* { dg-do run } */
/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */
typedef int V __attribute__((vector_size (4 * __SIZEOF_INT__)));
V a, b, c;

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
int __attribute__((__aligned__(64))) i;

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
typedef int __attribute__((__aligned__(64))) i_t;

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
typedef int int_t;

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 2 { xfail { powerpc-ibm-aix* } } } }
struct tt {

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
struct tt {

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
struct tt {

View File

@ -1,5 +1,6 @@
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-additional-options "-fno-common" { target hppa*-*-hpux* } }
// { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } }
int _Alignas(64) i;