This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/18115] New: probe-condition mistranslated for array expressions
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 11 Mar 2015 15:28:58 +0000
- Subject: [Bug translator/18115] New: probe-condition mistranslated for array expressions
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18115
Bug ID: 18115
Summary: probe-condition mistranslated for array expressions
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: fche at redhat dot com
% stap -p4 -e 'global foo probe begin if (foo == 0) { foo = 1-foo }'
[ok]
% stap -p4 -e 'global foo probe begin if (foo[0] == 0) { foo[0] = 1-foo[0] }'
/var/tmp/stapFHa0zZ/stap_b95e9e5526bc50657e775ced0c7f4234_925_src.c: In
function âprobe_6330â:
/var/tmp/stapFHa0zZ/stap_b95e9e5526bc50657e775ced0c7f4234_925_src.c:169:6:
error: âstruct probe_6330_localsâ has no member named â__tmp9â
l->__tmp9 = _stp_map_get_ii (global(s_foo), ((int64_t)0LL));
^
/var/tmp/stapFHa0zZ/stap_b95e9e5526bc50657e775ced0c7f4234_925_src.c:170:6:
error: âstruct probe_6330_localsâ has no member named â__tmp9â
l->__tmp9;
^
etc.
--
You are receiving this mail because:
You are the assignee for the bug.