Commit b681bb95 by Jason Merrill

thunk1.C bikeshedding

From-SVN: r196496
parent 11078d2f
// 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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment