From: Jakub Jelinek Date: Wed, 1 Feb 2017 15:47:52 +0000 (+0100) Subject: re PR testsuite/79324 (The tests introduced at revision r245052 fail on darwin) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=55e75c7c6bcfe386d0ecbf4611cff81040af00b3;p=gcc.git re PR testsuite/79324 (The tests introduced at revision r245052 fail on darwin) PR testsuite/79324 * gcc.dg/debug/dwarf2/align-1.c: Add -gno-strict-dwarf to dg-options. * gcc.dg/debug/dwarf2/align-2.c: Likewise. * gcc.dg/debug/dwarf2/align-3.c: Likewise. * gcc.dg/debug/dwarf2/align-4.c: Likewise. * gcc.dg/debug/dwarf2/align-5.c: Likewise. * gcc.dg/debug/dwarf2/align-6.c: Likewise. * gcc.dg/debug/dwarf2/align-as-1.c: Likewise. * g++.dg/debug/dwarf2/align-1.C: Likewise. * g++.dg/debug/dwarf2/align-2.C: Likewise. * g++.dg/debug/dwarf2/align-3.C: Likewise. * g++.dg/debug/dwarf2/align-4.C: Likewise. * g++.dg/debug/dwarf2/align-5.C: Likewise. * g++.dg/debug/dwarf2/align-6.C: Likewise. From-SVN: r245097 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63031d1c5fc..8ac884c683a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,20 @@ +2017-02-01 Jakub Jelinek + + PR testsuite/79324 + * gcc.dg/debug/dwarf2/align-1.c: Add -gno-strict-dwarf to dg-options. + * gcc.dg/debug/dwarf2/align-2.c: Likewise. + * gcc.dg/debug/dwarf2/align-3.c: Likewise. + * gcc.dg/debug/dwarf2/align-4.c: Likewise. + * gcc.dg/debug/dwarf2/align-5.c: Likewise. + * gcc.dg/debug/dwarf2/align-6.c: Likewise. + * gcc.dg/debug/dwarf2/align-as-1.c: Likewise. + * g++.dg/debug/dwarf2/align-1.C: Likewise. + * g++.dg/debug/dwarf2/align-2.C: Likewise. + * g++.dg/debug/dwarf2/align-3.C: Likewise. + * g++.dg/debug/dwarf2/align-4.C: Likewise. + * g++.dg/debug/dwarf2/align-5.C: Likewise. + * g++.dg/debug/dwarf2/align-6.C: Likewise. + 2017-02-01 Martin Liska PR testsuite/79272 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/align-1.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-1.C index 58b773179cb..fec0fec67f3 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-1.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } } int __attribute__((__aligned__(64))) i; diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/align-2.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-2.C index 31eed4a5141..c5b74db5791 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-2.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-2.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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/g++.dg/debug/dwarf2/align-3.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-3.C index 328ea0d1ae3..eceee077468 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-3.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-3.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } } typedef int int_t; diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/align-4.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-4.C index 31e9e81b62e..851a58c44ad 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-4.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-4.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_alignment" 2 { xfail { powerpc-ibm-aix* } } } } struct tt { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/align-5.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-5.C index 21166463902..e74146ce078 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-5.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-5.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } } struct tt { diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/align-6.C b/gcc/testsuite/g++.dg/debug/dwarf2/align-6.C index e8fc43f6e90..ff118e43ff8 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/align-6.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/align-6.C @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c index 58b773179cb..fec0fec67f3 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-1.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 31eed4a5141..c5b74db5791 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-2.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 328ea0d1ae3..eceee077468 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-3.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 31e9e81b62e..851a58c44ad 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-4.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 21166463902..e74146ce078 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-5.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 e8fc43f6e90..ff118e43ff8 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/align-6.c @@ -1,5 +1,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { 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 6923257e111..2e481cda4c8 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,5 @@ // { dg-do compile } -// { dg-options "-O -g -dA" } +// { dg-options "-O -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_alignment" 1 { xfail { powerpc-ibm-aix* } } } } int _Alignas(64) i;