This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/20341] optimizer does not remove variables that are read in probe aliases but not end-user probes
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 08 Jul 2016 21:41:26 +0000
- Subject: [Bug translator/20341] optimizer does not remove variables that are read in probe aliases but not end-user probes
- Auto-submitted: auto-generated
- References: <bug-20341-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20341
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
This is not probe-alias-specific. We don't drop assignments to variables that
are never subsequently used.
% stap -e 'probe begin {j = i+0; i= j} ' -p2 --vp 03
# probes
begin /* <- begin */
# locals
j:long
i:long
{
(j) = (i);
(i) = (j);
}
We may need a mini SSA pass.
--
You are receiving this mail because:
You are the assignee for the bug.