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]

[Bug target/41999] Bug in generation of interrupt function code for ARM processor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41999

Domen Puncer <domen at cba dot si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |domen at cba dot si

--- Comment #3 from Domen Puncer <domen at cba dot si> 2011-06-16 08:23:25 UTC ---
FWIW, this and 45540 don't happen on gcc 4.5.2 anymore (confirmed that it DOES
happen on 2010q1-188 4.4.1):

irq_:
    @ Interrupt Service Routine.
    @ args = 0, pretend = 0, frame = 0
    @ frame_needed = 0, uses_anonymous_args = 0
    sub    lr, lr, #4
    stmfd    sp!, {r0, r1, r2, r3, r4, r5, ip, lr}
    ldr    r4, .L2
    ldr    r0, [r4, #0]
    bl    external
    ldr    r0, [r4, #0]
    mov    r3, r0, asl #1
    mov    r0, r3
    str    r3, [r4, #0]
    bl    external
    ldmfd    sp!, {r0, r1, r2, r3, r4, r5, ip, pc}^
.L3:
    .align    2
.L2:
    .word    .LANCHOR0
    .size    irq_, .-irq_
    .bss
    .align    2
    .set    .LANCHOR0,. + 0
    .type    cnt, %object
    .size    cnt, 4
cnt:
    .space    4
    .ident    "GCC: (Sourcery G++ Lite 2011.03-42) 4.5.2"


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