http://llvm.org/bugs/show_bug.cgi?id=10485
Summary: Struct Passed by Value treated as if Passed By
Reference with --force-interpreter
Product: new-bugs
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
In the attached code, the struct's internal data is modified by lli when
--force-interpreter flag is specified while it is correctly not modified
without the flag.
$ lli -force-interpreter code.s.bc
checksum x.A = 0
checksum x.B = 0
checksum x.C = 2
$ lli code.s.bc
checksum x.A = 0
checksum x.B = 0
checksum x.C = 1
This code is compiled with llvm-2.7's version of dragonegg and run with
llvm-2.7.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs