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: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 15 Jan 2015 19:43:52 +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
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #3 from Josh Stone <jistone at redhat dot com> ---
On saving last_lvalue_read - it should be a complete surprise to enter
visit_if_statement with current_lvalue_read=true in the first place. An
if_statement never has a value, so no-one should be indicating that they want
to read it! In fact, it ought to be initially false for all statement types,
and perhaps this should be asserted.
Anyway, some additional expressions which should always be considered used:
- functioncall->args
- foreach_loop->array_slice
- foreach_loop->limit
- return_statement->value
- ternary_expression->cond
- entry_op->operand (unsure, may be translated away already)
--
You are receiving this mail because:
You are the assignee for the bug.