From: John David Anglin Date: Sat, 4 Feb 2017 00:54:06 +0000 (+0000) Subject: Wunused-var-15.c: Add -fno-common additional option on hppa*-*-hpux*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8a09adacf5b8f24e4ce1f888ab44bee691efad7;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 73696e5b6cc..9c97dcd7b12 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2017-02-03 John David Anglin + + * 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 PR tree-optimization/79327 diff --git a/gcc/testsuite/c-c++-common/Wunused-var-15.c b/gcc/testsuite/c-c++-common/Wunused-var-15.c index b0f680a06bd..ddf706a19f1 100644 --- a/gcc/testsuite/c-c++-common/Wunused-var-15.c +++ b/gcc/testsuite/c-c++-common/Wunused-var-15.c @@ -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))); diff --git a/gcc/testsuite/c-c++-common/Wunused-var-16.c b/gcc/testsuite/c-c++-common/Wunused-var-16.c index 98e66a72380..8bdbcd33c1a 100644 --- a/gcc/testsuite/c-c++-common/Wunused-var-16.c +++ b/gcc/testsuite/c-c++-common/Wunused-var-16.c @@ -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; diff --git a/gcc/testsuite/c-c++-common/builtin-shuffle-1.c b/gcc/testsuite/c-c++-common/builtin-shuffle-1.c index eae2cff54dc..df9b3a17469 100644 --- a/gcc/testsuite/c-c++-common/builtin-shuffle-1.c +++ b/gcc/testsuite/c-c++-common/builtin-shuffle-1.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c index fec0fec67f3..a00404260a1 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c index c5b74db5791..439a7da0dea 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c index eceee077468..01c19cdd365 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c @@ -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; diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c index 851a58c44ad..84182749d7a 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c @@ -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 { diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c index e74146ce078..322ac50cb5d 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c @@ -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 { diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c index ff118e43ff8..784f213ca10 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c @@ -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 { diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/align-as-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-as-1.c index 2e481cda4c8..5ef02c378c1 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-as-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-as-1.c @@ -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;