diff mbox series

[testsuite] Make pr80263 work for Darwin by suppressing pubnames/types.

Message ID E9FAA0EB-C6C4-493A-A011-BE7AF4AC8DB5@sandoe.co.uk
State New
Headers show
Series [testsuite] Make pr80263 work for Darwin by suppressing pubnames/types. | expand

Commit Message

Iain Sandoe Aug. 16, 2018, 2:35 p.m. UTC
Darwin emits pubnames/types by default which masks the intended check.

OK for trunk?
Iain

 gcc/testsuite

	* gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output for Darwin.


---
 gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Jeff Law Aug. 16, 2018, 3:09 p.m. UTC | #1
On 08/16/2018 08:35 AM, Iain Sandoe wrote:
> 
> Darwin emits pubnames/types by default which masks the intended check.
> 
> OK for trunk?
> Iain
> 
>  gcc/testsuite
> 
> 	* gcc.dg/debug/dwarf2/pr80263.c: Suppress pubtypes output for Darwin.
OK
jeff
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c b/gcc/testsuite/gcc.dg/debug/dwarf2/pr80263.c
index 57633b4f0e..f1a6a33616 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];