This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/10274] exelib optimized builds don't work


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]