From f29be33707c0d4f7ccb73a1d074ad76faaf2d1b8 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Sat, 25 Apr 2020 17:11:54 -0400 Subject: [PATCH] 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. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-1.c | 1 + gcc/testsuite/gcc.dg/debug/dwarf2/pr82718-2.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 200681c..7de184b 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 1ed92bf..809a00b 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 85279e1..1b04446 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); -- 2.7.4