diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2018-08-18 09:24:55 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2018-08-18 09:24:55 +0000 |
commit | afc8ff31b054c0aa601761cdafcc6e7ce6443883 (patch) | |
tree | 8d392c66549e9f755e5dea396e269bb30daf4aff | |
parent | c7a52e72da5d893545496a2f6772374c7282ba9c (diff) | |
download | gcc-afc8ff31b054c0aa601761cdafcc6e7ce6443883.zip gcc-afc8ff31b054c0aa601761cdafcc6e7ce6443883.tar.gz gcc-afc8ff31b054c0aa601761cdafcc6e7ce6443883.tar.bz2 |
Darwin emits pubnames/types by default which mask the intent of the test.
gcc/testsuite
2018-08-18 Iain Sandoe <iain@sandoe.co.uk>
* gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output
for Darwin.
From-SVN: r263646
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5a1aedf..e89f4a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2018-08-18 Iain Sandoe <iain@sandoe.co.uk> + * gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output + for Darwin. + +2018-08-18 Iain Sandoe <iain@sandoe.co.uk> + * g++.dg/debug/dwarf2/pr85302.C: Skip unsupported split DWARF test on Darwin. * g++.dg/debug/dwarf2/pr85302.C: Likewise. diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c index 57633b4..f1a6a33 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]; |