From afc8ff31b054c0aa601761cdafcc6e7ce6443883 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 18 Aug 2018 09:24:55 +0000 Subject: [PATCH] Darwin emits pubnames/types by default which mask the intent of the test. gcc/testsuite 2018-08-18 Iain Sandoe * gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output for Darwin. From-SVN: r263646 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a1aedfd899..e89f4a4c093 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-08-18 Iain Sandoe + + * gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output + for Darwin. + 2018-08-18 Iain Sandoe * g++.dg/debug/dwarf2/pr85302.C: Skip unsupported split DWARF diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c index 57633b4f0eb..f1a6a336163 100644 --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c @@ -1,6 +1,8 @@ /* PR debug/80263 */ /* { dg-do compile } */ /* { dg-options "-g -dA" } */ +/* Darwin emits pubnames/types by default - suppress this for the test. */ +/* { dg-additional-options "-gno-pubnames" { target *-*-darwin* } } */ char array[1]; -- 2.30.2