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 <howa...@bromo.med.uc.edu> PR debug/53235 * g++.dg/debug/dwarf2/nested-4.C: XFAIL on darwin. 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 {};