Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] {To TomW} GCC-Bug in IRQs

2006-03-25 by Tom Walsh

Sten wrote:

>Hello Tom,
>
>some days ago I discovered a GCC bug on interrupt service routines for functions with
>__attribute__((interrupt("IRQ"))). At GCC-Bugzilla I found that this bug has still been reported in
>2005 under bug report #16634 in which you are involved in. Do you know why this bug is still
>"UNCONFIRMED"?!?
>
>The bug still persists in:
>arm-elf-gcc (GCC) 4.0.1
>arm-elf-gcc (GCC) 4.1.0
>
>Do you (or somebody else) have a gcc-patch to solve this problem? I took a look to the gcc sources
>by myself but the problem occurs in conjunction with optimization under conditions, where LR
>register is used for subroutine branches, and this could a little bit more tricky to solve it than
>just hacking the ARM section of GCC!
>
>Can somebody confirm this bug in the binary-tool-chain from www.gnuarm.com or on other GCC-based
>cross compiler versions? It seems gnuarm don't have any special patches against this problem, too.
>(See test-case below!)
>  
>
I am not sure what your question is. Why do you feel you have to 
intentionally suppress the apcs stack frame?


Regards,

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.