http://llvm.org/bugs/show_bug.cgi?id=4540
Summary: Change in case statement value generates incorrect code
(crashes the runtime linker)
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: major
Priority: P2
Component: Backend: PowerPC
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=3181)
--> (http://llvm.org/bugs/attachment.cgi?id=3181)
Archive of the related files.
GDB reports that dyld, the dynamic runtime linker crashes when running an
executable generated from the switch_bad.ll file in the attachment. Line 109 is
the only thing that is changed between the good.ll file and the bad.ll file,
and the only change is in the value it is testing for. Some values for that
case statement work, others don't, and I do not recognize any correlation in
the values. Commenting out any one of the case statements also works.
--
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