From 4b8f3f068ae154ad7918e61e0090afc8cebf1339 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Fri, 21 Nov 2014 13:27:57 +0000 Subject: [PATCH] re PR debug/63239 (DWARF does not represent C++ deleted methods) PR debug/63239 * g++.dg/debug/dwarf2/deleted-member-function.C: Pass -gno-strict-dwarf on darwin. From-SVN: r217918 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1c6cb24869f..8c4a0510357 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-11-21 Francois-Xavier Coudert + + PR debug/63239 + * g++.dg/debug/dwarf2/deleted-member-function.C: Pass + -gno-strict-dwarf on darwin. + 2014-11-21 Tom de Vries * gcc.dg/store-motion-fgcse-sm.c: New test. diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C b/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C index 50a84511e2e..6d251120d85 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C @@ -1,6 +1,7 @@ // { dg-do compile } // { dg-options "-O -std=c++11 -g -dA" } // { dg-final { scan-assembler-times " DW_AT_GNU_deleted" 2 } } +// { dg-additional-options "-gno-strict-dwarf" { target { *-*-darwin* } } } struct Foo { -- 2.30.2