diff options
Diffstat (limited to 'testsuite/systemtap.base/const_value.c')
-rw-r--r-- | testsuite/systemtap.base/const_value.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 }; |