[Bug translator/18115] New: probe-condition mistranslated for array expressions
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Mar 11 15:29:00 GMT 2015
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.
More information about the Systemtap
mailing list