This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2600] New: should optimize away assignments in other contexts
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 24 Apr 2006 13:22:27 -0000
- Subject: [Bug translator/2600] New: should optimize away assignments in other contexts
- Reply-to: sourceware-bugzilla at sourceware dot org
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.