[LLVMbugs] [Bug 4540] New: Change in case statement value generates incorrect code ( crashes the runtime linker)
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jul 11 17:58:54 PDT 2009
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: unassignedbugs at nondot.org
ReportedBy: revcompgeek at gmail.com
CC: llvmbugs at cs.uiuc.edu, revcompgeek at gmail.com
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.
More information about the llvm-bugs
mailing list