[Bug translator/10602] New: REG_IP() used as lvalue fails on s390x, probably ia64

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Thu Sep 3 22:49:00 GMT 2009


The ia64 and s390x definitions of the REG_IP macro in runtime/regs.h prevent
REG_IP(x) from being assigned to, but stap-generated code includes several lines
of the form
    REG_IP(regs) = something;
At least on s390x, this yields compile errors in pass 4:
/tmp/stapkks1PD/stap_..._4792.c: In function ‘enter_kprobe_probe’:
/tmp/stapkks1PD/stap_..._4792.c:1080: error: lvalue required as left operand of
assignment

I think that this is an artifact of the fix for PR #10458.

-- 
           Summary: REG_IP() used as lvalue fails on s390x, probably ia64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


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

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



More information about the Systemtap mailing list