[LLVMbugs] [Bug 617] X != A-X miscompiled in the codegenerator

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Aug 10 12:36:58 PDT 2005


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
          Component|llvm-as                     |Common Code Generator Code
         OS/Version|Linux                       |All
            Product|tools                       |libraries
           Platform|PC                          |All
         Resolution|                            |FIXED
            Version|trunk                       |1.5

------- Additional Comments From sabre at nondot.org  2005-08-10 14:36 -------
Ok, it looks like this patch fixes it:

I now get:

        movl 4(%esp), %ecx
        movl %ecx, %eax
        negl %eax
        addl %ecx, %ecx
        cmpl $0, %ecx
        jne .LBB_testme_2       # return_block
.LBB_testme_1:  # overflow
        movl $123, %eax
.LBB_testme_2:  # return_block

for your testcase.  If you still see a problem, please reopen this bug.


------- 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