This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: target/8159: ARM/THUMB code uses sp as index register for automatic arrays


Synopsis: ARM/THUMB code uses sp as index register for automatic arrays

State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Fri Jan 31 15:25:26 2003
State-Changed-Why:
    The latest compiler generates 
    
            sub     sp, sp, #4
            lsl     r0, r0, #2
            mov     r3, sp
            ldr     r0, [r0, r3]
            add     sp, sp, #4
            bx      lr

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8159


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]