This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11695] New: DWIM promotion of ++ to <<<
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 11 Jun 2010 14:17:08 -0000
- Subject: [Bug translator/11695] New: DWIM promotion of ++ to <<<
- Reply-to: sourceware-bugzilla at sourceware dot org
The optimizer could detect this sort of pattern:
probe foo { value ++ } # note ++ result is thrown away
probe end { println(value) }
global value
and map it to
probe foo { value <<< 1 }
probe end { println (@sum(value)) }
global value
--
Summary: DWIM promotion of ++ to <<<
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: fche at redhat dot com
BugsThisDependsOn: 6954
http://sourceware.org/bugzilla/show_bug.cgi?id=11695
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.