From e82cb6e94e5028637bdf0eedc0f6035139629a90 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 6 Oct 2009 15:26:58 +0200 Subject: PR10726 remove testcase workaround. * testsuite/systemtap.base/const_value.c: Allow inlining since PR10726 was fixed. --- testsuite/systemtap.base/const_value.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/systemtap.base/const_value.c') diff --git a/testsuite/systemtap.base/const_value.c b/testsuite/systemtap.base/const_value.c index 4ff82161..2ed0f5c4 100644 --- a/testsuite/systemtap.base/const_value.c +++ b/testsuite/systemtap.base/const_value.c @@ -14,9 +14,7 @@ bar (const int i, const long j) return i * j; } -// Because of PR10726 we don't want to get this function inlined. -// We do need -O2 to get the const_value encodings in dwarf. -static __attribute__((__noinline__)) int +static int func (int (*f) ()) { const fooer baz = { .i = 2, .j = 21 }; -- cgit