aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2013-03-06 11:14:53 -0500
committerJason Merrill <jason@gcc.gnu.org>2013-03-06 11:14:53 -0500
commitb681bb9507df9bf700eac671e3c999bd735b1939 (patch)
tree184db53ef8ad51b1933385675b03fbb655aa449c /gcc
parent11078d2f8a745dc823deeaa3c1d2d941e7b280f1 (diff)
downloadgcc-b681bb9507df9bf700eac671e3c999bd735b1939.zip
gcc-b681bb9507df9bf700eac671e3c999bd735b1939.tar.gz
gcc-b681bb9507df9bf700eac671e3c999bd735b1939.tar.bz2
thunk1.C bikeshedding
From-SVN: r196496
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C b/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
index fef6573..304cf45 100644
--- a/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
+++ b/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
@@ -1,11 +1,10 @@
// Test that we don't add the x86 PC thunk to .debug_ranges
// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
+// { dg-require-effective-target fpic }
+// { dg-skip-if "darwin doesn't use the thunk for PIC" { *-*-darwin* } }
// { dg-options "-g -fpic -fno-dwarf2-cfi-asm" }
// { dg-final { scan-assembler-times "LFB3" 5 } }
-// Darwin doesn't use the thunk for PIC.
-// { dg-skip-if "no pic thunk" { *-*-darwin* } }
-
template <class T> void f(T t) { }
int main()