[LLVMbugs] [Bug 1340] llc: strange message and segfault

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 24 17:42:24 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1340

sabre at nondot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From sabre at nondot.org  2007-04-24 19:42 -------
Looks like this is fixed in LLVM 2.0.  I get this output:

main:
        subl $2, %esp
        fnstcw (%esp)
        movb $2, 1(%esp)
        fldcw (%esp)
        movl a, %eax
        testl %eax, %eax
        js .LBB1_2      #bb
.LBB1_1:        #cond_next
        movl b, %ecx
        movl (%ecx), %ecx
        cmpl %eax, %ecx
        jge .LBB1_3     #UnifiedReturnBlock
.LBB1_2:        #bb
        movl b, %eax
        movl $0, (%eax)
        xorl %eax, %eax
        addl $2, %esp
        ret
.LBB1_3:        #UnifiedReturnBlock
        xorl %eax, %eax
        addl $2, %esp
        ret


-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list