http://llvm.org/bugs/show_bug.cgi?id=8561
Summary: LLVM miscompiles a function from Wine
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=5742)
--> (http://llvm.org/bugs/attachment.cgi?id=5742)
LLVM IR of miscompiled function from Wine
Now that PR8418 is fixed (thanks, Chris!), I took a stab at building Wine with
Clang at -O2. It builds successfully, but unfortunately, the resulting Wine
segfaults on start-up. This happens before Wine installs its own signal
handlers, so the OS picks it up and produces a backtrace. The backtrace pointed
to the "reserve_area" function.
I've isolated this function and compiled it to LLVM IR. I don't know where or
why this is happening, but this is preventing Wine from being usable when
compiled at -O2.
>From looking at the source, this function is a recursive function, so that
could have something to do with it.
--
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