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/2600] New: should optimize away assignments in other contexts


The "dead_assignment_remover" optimization only removes useless assignments from
statement-expressions (top level "a = b" where a is not read anywhere).  It
should do more: look for useless assignments in conditionals (see bug #2599),
array indexes, function parameters, and perhaps even plain nested expression "(x
+ (b = 2) + 5)".

-- 
           Summary: should optimize away assignments in other contexts
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P3
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2600

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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