projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11078d2
)
thunk1.C bikeshedding
author
Jason Merrill
<jason@gcc.gnu.org>
Wed, 6 Mar 2013 16:14:53 +0000
(11:14 -0500)
committer
Jason Merrill
<jason@gcc.gnu.org>
Wed, 6 Mar 2013 16:14:53 +0000
(11:14 -0500)
From-SVN: r196496
gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
b/gcc/testsuite/g++.dg/debug/dwarf2/thunk1.C
index
fef6573
..
304cf45
100644
(file)
--- 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()