From 9384191e713cf1f0a1e06e67e440323ef5d7ec64 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 7 Feb 2013 09:55:48 +0000 Subject: [PATCH] Fix g++.dg/debug/dwarf2/thunk1.C (PR debug/53363) PR debug/53363 * g++.dg/debug/dwarf2/thunk1.C: Restrict to 32-bit x86. Add -fno-dwarf2-cfi-asm to dg-options. Adapt match count. From-SVN: r195842 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 49f87f1..9c6b993 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2013-02-07 Rainer Orth + + PR debug/53363 + * g++.dg/debug/dwarf2/thunk1.C: Restrict to 32-bit x86. + Add -fno-dwarf2-cfi-asm to dg-options. + Adapt match count. + 2013-02-07 Jakub Jelinek PR target/56228 diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C b/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C index c34373e..1eb1295 100644 --- a/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C +++ b/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C @@ -1,7 +1,7 @@ // Test that we don't add the x86 PC thunk to .debug_ranges -// { dg-do compile { target i?86-*-* } } -// { dg-options "-g -fpic" } -// { dg-final { scan-assembler-times "LFB3" 1 } } +// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } +// { dg-options "-g -fpic -fno-dwarf2-cfi-asm" } +// { dg-final { scan-assembler-times "LFB3" 5 } } template void f(T t) { } -- 2.7.4