From e984e36fe0a5a5378bb92238787baa6a264192d9 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Fri, 21 Nov 2014 13:32:08 +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. From-SVN: r217920 --- gcc/testsuite/ChangeLog | 2 +- gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8c4a0510357..55817df9a33 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -2,7 +2,7 @@ PR debug/63239 * g++.dg/debug/dwarf2/deleted-member-function.C: Pass - -gno-strict-dwarf on darwin. + -gno-strict-dwarf. 2014-11-21 Tom de Vries 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 6d251120d85..a81028f6f69 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/deleted-member-function.C @@ -1,7 +1,6 @@ // { dg-do compile } -// { dg-options "-O -std=c++11 -g -dA" } +// { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" } // { dg-final { scan-assembler-times " DW_AT_GNU_deleted" 2 } } -// { dg-additional-options "-gno-strict-dwarf" { target { *-*-darwin* } } } struct Foo { -- 2.30.2