Patchwork PR53235: xfail scan-assembler-times in nested-4.C on darwin

login
register
mail settings
Submitter Jack Howarth
Date Jan. 20, 2013, 5:10 p.m.
Message ID <20130120171054.GA31423@bromo.med.uc.edu>
Download mbox | patch
Permalink /patch/213966/
State New
Headers show

Comments

Jack Howarth - Jan. 20, 2013, 5:10 p.m.
Current gcc trunk fails the scan-assembler-times on this test case
due to Apple's incomplete support for dwarf4. The attached patch xfail's
the scan-assembler-times on debug_types until Apple updates its cctools
to fully support dwarf4. Okay for gcc trunk?
        Jack
ps I don't see a huge rush to dwarf-4 over on clang/llvm development with
the last mention at http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-February/013563.html.

gcc/testsuite/

2013-01-19  Jack Howarth <howarth@bromo.med.uc.edu>

	PR debug/53235
	* g++.dg/debug/dwarf2/nested-4.C: XFAIL on darwin.
Mike Stump - Jan. 20, 2013, 8:27 p.m.
On Jan 20, 2013, at 9:10 AM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
>   Current gcc trunk fails the scan-assembler-times on this test case
> due to Apple's incomplete support for dwarf4. The attached patch xfail's
> the scan-assembler-times on debug_types until Apple updates its cctools
> to fully support dwarf4. Okay for gcc trunk?

Ok.
Mike Stump - Jan. 20, 2013, 8:36 p.m.
On Jan 20, 2013, at 9:10 AM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
>   Current gcc trunk fails the scan-assembler-times on this test case
> due to Apple's incomplete support for dwarf4. The attached patch xfail's
> the scan-assembler-times on debug_types

Committed revision 195326.

Patch

Index: gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C
===================================================================
--- gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C	(revision 195320)
+++ gcc/testsuite/g++.dg/debug/dwarf2/nested-4.C	(working copy)
@@ -1,6 +1,6 @@ 
 // PR debug/53235
 // { dg-options "-gdwarf-4 -fdebug-types-section" }
-// { dg-final { scan-assembler-times "debug_types" 2 } }
+// { dg-final { scan-assembler-times "debug_types" 2 { xfail *-*-darwin* } } }
 
 namespace E {
   class O {};