[Bug testsuite/10274] exelib optimized builds don't work
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Jun 15 12:21:00 GMT 2009
------- Additional Comments From mjw at redhat dot com 2009-06-15 12:21 -------
commit 5e3d7f3a3aa8d11b67e74de0c3d9187c323cbff2
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon Jun 15 13:37:39 2009 +0200
PR10274 Fix exelib -O3 testcase.
The testcase now uses noinline, an empty asm statement and a volatile
variable to prevent the function getting inlined, being totally unrolled
or the recursive call being replaced with an inner-iteration.
This does defeat part of the testcase though, which was testing unwinding
through an optimized recursive function. But it seems the best we can do.
* testsuite/systemtap.exelib/exelib.exp: Add -O3 to the mix.
* testsuite/systemtap.exelib/uprobes_exe.c: Use volatile bar and mark
main_func noinline.
* testsuite/systemtap.exelib/uprobes_lib.c: Use volatile foo and mark
lib_func noinline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10274
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list