This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/17749] stap doesn't recognize "++" as a use
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 23 Dec 2014 01:49:24 +0000
- Subject: [Bug translator/17749] stap doesn't recognize "++" as a use
- Auto-submitted: auto-generated
- References: <bug-17749-6586 at http dot sourceware dot org/bugzilla/>
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.