[Bug translator/17749] stap doesn't recognize "++" as a use
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Dec 23 01:49:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=17749
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
It's a bit more subtle:
global a probe foo { a++ } # we'd like a printed at end
global b probe bar { if (b++ > 5) ... } # but not b
It's not exactly the ++ operation that's the discriminator
between these two cases, but whether the result is used
an rvalue or whether it's tossed away.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list