Darwin emits pubnames/types by default which mask the intent of the test.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 18 Aug 2018 09:24:55 +0000 (09:24 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 18 Aug 2018 09:24:55 +0000 (09:24 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c

index 5a1aedfd899bc4319423264c00cd196b9f270c57..e89f4a4c093b01a6208613fb6260bc80ad99f9fb 100644 (file)
@@ -1,3 +1,8 @@
+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
index 57633b4f0ebe4a4d1d11839f35127d2cd176d4d7..f1a6a33616370932025c42cb9a82c4fefe6044a4 100644 (file)
@@ -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];