[Bug translator/11695] New: DWIM promotion of ++ to <<<

fche at redhat dot com sourceware-bugzilla@sourceware.org
Sat Jun 12 02:58:00 GMT 2010


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.



More information about the Systemtap mailing list