[LLVMbugs] [Bug 6663] MultiSource/Benchmarks/Bullet/bullet fails on x86-32 linux when using -fPIC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 5 11:04:25 PDT 2010


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

Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #15 from Duncan Sands <baldrick at free.fr> 2010-04-05 13:04:25 CDT ---
In the assembler generated by llc for bullet.bad.bc, ebp is used to store the
stack pointer

        pushl   %ebp
        movl    %esp, %ebp

but is also used as a scratch register

        movl    8(%ebp), %ebp
        movl    %ebp, (%esp)

which is fatal since ebp is used to restore the stack pointer

        movl    %ebp, %esp
        popl    %ebp
        ret

This looks like a duplicate of PR6696.  One difference is that there are
no vectors here, only operations on int and float.

*** This bug has been marked as a duplicate of bug 6696 ***

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