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/17749] stap doesn't recognize "++" as a use


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.


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