From: David Edelsohn Date: Sat, 25 Apr 2020 21:11:54 +0000 (-0400) Subject: testsuite: Skip pr82718-1.c and pr82718-2.c DWARF 5 tests on AIX. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f29be33707c0d4f7ccb73a1d074ad76faaf2d1b8;p=gcc.git testsuite: Skip pr82718-1.c and pr82718-2.c DWARF 5 tests on AIX. AIX 7.2 XCOFF does not support DWARF 5 sections. Skip the explicit DWARF 5 tests that emit the new loc_lists and range_lists sections. * gcc.dg/debug/dwarf2/pr82718-1.c: Skip on AIX. * gcc.dg/debug/dwarf2/pr82718-2.c: Skip on AIX. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 200681ccfcf..7de184bb8f0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-25 David Edelsohn + + * gcc.dg/debug/dwarf2/pr82718-1.c: Skip on AIX. + * gcc.dg/debug/dwarf2/pr82718-2.c: Skip on AIX. + 2020-04-25 Iain Sandoe * g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C: diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-1.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-1.c index 1ed92bfe90f..809a00b63c6 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-1.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-1.c @@ -1,6 +1,7 @@ /* PR debug/82718 */ /* { dg-do assemble } */ /* { dg-options "-O2 -gdwarf-5" } */ +/* { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } */ extern int e; extern long foo (int, void *, unsigned long, unsigned long); diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-2.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-2.c index 85279e15bd0..1b04446d05c 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-2.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-2.c @@ -1,6 +1,7 @@ /* PR debug/82718 */ /* { dg-do assemble } */ /* { dg-options "-O2 -gdwarf-5" } */ +/* { dg-skip-if "AIX DWARF5" { powerpc-ibm-aix* } } */ extern int bar (void);