--- In lpc2000@yahoogroups.com, "Karl Olsen" <kro@...> wrote:
> Are you using the compiler's interrupt entry/exit code, such as
> void EINT0ISR(void) __attribute__ ((interrupt("IRQ")));
> ?
yes
> GCC 3.3 generates incorrect interrupt entry/exit code, and that is
most
> likely what you see here. It is fixed in GCC 3.4 and newer.
>
> Karl Olsen
>
You're surely right, I've read about this problem earlier on this
group and it is probably the reason. But the reason of posting this
topis was, that I have noticed, that asm entry code seems to be the
same for 3.3 and 4.0 gcc versions. The difference is location of some
ISR's local variables on the stack in place, where another function's
frame is situated. But probalby it is related to an error you have
described.
ArekMessage
Re: GCC-3.3.1 and nested function call in ISR - compiler ERROR???
2006-02-25 by arrek_x