From patchwork Sun Jan 20 17:10:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: PR53235: xfail scan-assembler-times in nested-4.C on darwin Date: Sun, 20 Jan 2013 07:10:54 -0000 From: Jack Howarth X-Patchwork-Id: 213966 Message-Id: <20130120171054.GA31423@bromo.med.uc.edu> To: gcc-patches@gcc.gnu.org Cc: jason@redhat.com, mikestump@comcast.net, iain@codesourcery.com 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 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 {};