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 translator/6644] Impure arguments prevent eliding pure function calls


------- Additional Comments From joshua dot i dot stone at intel dot com  2008-06-14 03:22 -------
The example given is trivial, of course, but it can get hairier.  I noticed this
with a few of the system calls.  In particular, syscall.compat_utime calls
ctime(), which wasn't marked pure (though it should be).  Then the argstr
sprintf with a ctime() parameter was not being elided, and so it could not elide
any of the other parameters either.  Thus, even though I was not using any of
the probepoint variables, it had to compute all of them.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6644

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